Increase a test timeout to account for slower test on EKS in CI

The test takes longer on EKS because it has to wait about 2 minutes for
the EKS load balancer to be ready during the test.
This commit is contained in:
Ryan Richard 2022-02-22 11:46:15 -08:00
parent 339bb84765
commit e1e3342b3d

View File

@ -109,7 +109,7 @@ func TestE2EFullIntegration_Browser(t *testing.T) { // nolint:gocyclo
// Add an OIDC upstream IDP and try using it to authenticate during kubectl commands. // Add an OIDC upstream IDP and try using it to authenticate during kubectl commands.
t.Run("with Supervisor OIDC upstream IDP and automatic flow", func(t *testing.T) { t.Run("with Supervisor OIDC upstream IDP and automatic flow", func(t *testing.T) {
testCtx, cancel := context.WithTimeout(ctx, 2*time.Minute) testCtx, cancel := context.WithTimeout(ctx, 5*time.Minute)
t.Cleanup(cancel) t.Cleanup(cancel)
// Start a fresh browser driver because we don't want to share cookies between the various tests in this file. // Start a fresh browser driver because we don't want to share cookies between the various tests in this file.