Skip to content

Commit f0730ef

Browse files
committed
e2e stress exec 99% threshold
1 parent f81cce6 commit f0730ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/e2e/kubectl/exec.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ var _ = SIGDescribe("Kubectl exec", func() {
8888
errors = append(errors, err)
8989
}
9090
}
91-
if len(errors) > 0 {
91+
// Accept a 99% success rate to be able to handle infrastructure errors
92+
if len(errors) > (size*1)/100 {
9293
framework.Failf("Exec failed %d times with following errors : %v", len(errors), errors)
9394
}
9495
})

0 commit comments

Comments
 (0)