Skip to content

Commit 00f46dc

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func deploymentReplicaCheck(api appsv1.AppsV1Interface, name string, replicas, t
119119
outerloop:
120120
for {
121121
if count >= timeout {
122-
break
122+
log.Fatalf("Deployment %s did not produce %d available replicas.\n", name, replicas)
123123
}
124124
count++
125125
deployments, err := api.Deployments("").List(listOptions)

0 commit comments

Comments
 (0)