Skip to content

Commit

Permalink
tests: gave test a 20 second timeout for edgecases
Browse files Browse the repository at this point in the history
  • Loading branch information
MadsRC committed May 19, 2024
1 parent 1140ca3 commit 8c80e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/configProvider/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ func TestConfigProviderGet(t *testing.T) {
// Ensure that the config has been updated - Allow for one failure to account
// for potentially slow CI runners.
if !assert.Equal(t, newPasswordString, cfg.Database.Password) {
time.Sleep(900 * time.Millisecond)
time.Sleep(1900 * time.Millisecond)
require.Equal(t, newPasswordString, cfg.Database.Password)
}
// Ensure that the other values have not changed
Expand Down

0 comments on commit 8c80e4b

Please sign in to comment.