Skip to content

Commit 4fdf8e0

Browse files
authored
Merge branch 'main' into logshints
2 parents 77ea366 + f3b4eec commit 4fdf8e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/pkg/agent/application/upgrade/step_download_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ func TestDownloadWithRetries(t *testing.T) {
231231
// Download timeout expired (before all retries are exhausted)
232232
t.Run("download_timeout_expired", func(t *testing.T) {
233233
testCaseSettings := settings
234-
testCaseSettings.Timeout = 200 * time.Millisecond
234+
testCaseSettings.Timeout = 500 * time.Millisecond
235235
testCaseSettings.RetrySleepInitDuration = 10 * time.Millisecond
236-
// exponential backoff with 10ms init and 200ms timeout should fit at least 3 attempts.
236+
// exponential backoff with 10ms init and 500ms timeout should fit at least 3 attempts.
237237
minNmExpectedAttempts := 3
238238

239239
mockDownloaderCtor := func(version *agtversion.ParsedSemVer, log *logger.Logger, settings *artifact.Config, upgradeDetails *details.Details) (download.Downloader, error) {

0 commit comments

Comments
 (0)