Skip to content

Commit 131bced

Browse files
Increasing the timeout of sgc windows tests to 60s (#42084)
### What does this PR do? The sgc e2e tests on windows are flaky, so this pr tries to reduce the flakiness of them by increasing the timeout. ### Motivation ### Describe how you validated your changes ### Additional Notes
1 parent a1cb406 commit 131bced

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/new-e2e/tests/agent-configuration/secret-backend-embedded/secret_backend_aws_win_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ secret_backend_config:
3939
assert.EventuallyWithT(v.T(), func(t *assert.CollectT) {
4040
secretOutput := v.Env().Agent.Client.Secret()
4141
require.Contains(t, secretOutput, "embedded_secret_key")
42-
}, 30*time.Second, 2*time.Second, "could not check if secretOutput contains 'embedded_key' within the allotted time")
42+
}, 60*time.Second, 2*time.Second, "could not check if secretOutput contains 'embedded_key' within the allotted time")
4343
}

test/new-e2e/tests/agent-configuration/secret-backend-embedded/secret_backend_win_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ secret_backend_config:
5858
assert.EventuallyWithT(v.T(), func(t *assert.CollectT) {
5959
secretOutput := v.Env().Agent.Client.Secret()
6060
require.Contains(t, secretOutput, "fake_yaml_key")
61-
}, 30*time.Second, 2*time.Second, "could not check if secretOutput contains 'fake_yaml_key' within the allotted time")
61+
}, 60*time.Second, 2*time.Second, "could not check if secretOutput contains 'fake_yaml_key' within the allotted time")
6262
}

0 commit comments

Comments
 (0)