Skip to content

Commit

Permalink
Decrease MaxElapsedTime for retry backoff in tests (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessieqliu authored Jul 18, 2023
1 parent 9d4df6b commit 4a3d6e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launcher/container_runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func testRetryPolicyThreeTimes() *backoff.ExponentialBackOff {
expBack.RandomizationFactor = 0
expBack.Multiplier = 1.5
expBack.MaxInterval = 1 * time.Second
expBack.MaxElapsedTime = 2249 * time.Millisecond
expBack.MaxElapsedTime = 1251 * time.Millisecond
return expBack
}

Expand Down

0 comments on commit 4a3d6e7

Please sign in to comment.