mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
Merge pull request #117170 from jongwooo/hotfix/fix-typo-in-comments
Fix typo at job_test.go
This commit is contained in:
commit
743cc9db44
@ -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)
|
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
|
// This check rules out double counting
|
||||||
if diff >= 4*jobcontroller.DefaultJobBackOff.Seconds() {
|
if diff >= 4*jobcontroller.DefaultJobBackOff.Seconds() {
|
||||||
t.Fatalf("Third pod should be created before %v seconds after the second pod", 4*jobcontroller.DefaultJobBackOff)
|
t.Fatalf("Third pod should be created before %v seconds after the second pod", 4*jobcontroller.DefaultJobBackOff)
|
||||||
|
Loading…
Reference in New Issue
Block a user