Skip to content

Commit 1bc34bd

Browse files
authored
fix: [CNI] Windows image change for load test (#2048)
* fix: Change Windows Image * ci: Informative debug
1 parent 672cce9 commit 1bc34bd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

test/integration/manifests/noop-deployment-windows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
spec:
1717
containers:
1818
- name: noop
19-
image: mcr.microsoft.com/windows/nanoserver:ltsc2022
19+
image: mcr.microsoft.com/oss/kubernetes/pause:3.6
2020
ports:
2121
- containerPort: 80
2222
nodeSelector:

test/internal/k8sutils/utils.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ func WaitForPodDeployment(ctx context.Context, clientset *kubernetes.Clientset,
246246
}
247247

248248
if deployment.Status.AvailableReplicas != int32(replicas) {
249+
// Provide real-time deployment availability to console
250+
log.Printf("deployment %s has %d replicas in available status, expected %d", deploymentName, deployment.Status.AvailableReplicas, replicas)
249251
return errors.New("deployment does not have the expected number of available replicas")
250252
}
251253

0 commit comments

Comments
 (0)