Merge pull request #117170 from jongwooo/hotfix/fix-typo-in-comments

Fix typo at job_test.go
This commit is contained in:
Kubernetes Prow Robot 2023-04-11 21:17:27 -07:00 committed by GitHub
commit 743cc9db44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1456,7 +1456,7 @@ func TestJobPodsCreatedWithExponentialBackoff(t *testing.T) {
t.Fatalf("Third pod should be created at least %v seconds after the second pod", 2*jobcontroller.DefaultJobBackOff)
}
// The third pod should be created witin 8 seconds
// The third pod should be created within 8 seconds
// This check rules out double counting
if diff >= 4*jobcontroller.DefaultJobBackOff.Seconds() {
t.Fatalf("Third pod should be created before %v seconds after the second pod", 4*jobcontroller.DefaultJobBackOff)