e2e stress exec 99% threshold

This commit is contained in:
Antonio Ojea 2024-04-08 22:09:53 +00:00
parent f81cce61e6
commit f0730efd0a

View File

@ -88,7 +88,8 @@ var _ = SIGDescribe("Kubectl exec", func() {
errors = append(errors, err)
}
}
if len(errors) > 0 {
// Accept a 99% success rate to be able to handle infrastructure errors
if len(errors) > (size*1)/100 {
framework.Failf("Exec failed %d times with following errors : %v", len(errors), errors)
}
})