diff --git a/cmd/testwrapper/testwrapper.go b/cmd/testwrapper/testwrapper.go index 31909d666..d392a070c 100644 --- a/cmd/testwrapper/testwrapper.go +++ b/cmd/testwrapper/testwrapper.go @@ -232,7 +232,7 @@ func main() { var thisRun *nextRun thisRun, toRun = toRun[0], toRun[1:] - if thisRun.attempt >= maxAttempts { + if thisRun.attempt > maxAttempts { fmt.Println("max attempts reached") os.Exit(1) }