Skip to content

Commit bddf192

Browse files
committed
test/main.go: fail if replica count not reached
1 parent e655853 commit bddf192

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ func deploymentReplicaCheck(api appsv1.AppsV1Interface, name string, replicas, t
119119
outerloop:
120120
for {
121121
if count >= timeout {
122+
log.Fatalf("Deployment %s did not produce %d available replicas.\n", name, replicas)
122123
break
123124
}
124125
count++

0 commit comments

Comments
 (0)