Skip to content

Commit 6aad333

Browse files
Copilotmathetake
andcommitted
Use 30*time.Second unconditionally for both timeout cases
Co-authored-by: mathetake <[email protected]>
1 parent 308da85 commit 6aad333

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/internal/e2elib/e2elib.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,7 @@ type TestMainConfig struct {
6464
// When the inferenceExtension flag is set to true, it also installs the Inference Extension and the
6565
// Inference Pool resources, and the Envoy Gateway configuration which are required for the tests.
6666
func TestMain(m *testing.M, config TestMainConfig) {
67-
// Extend timeout for upgrade tests that need more time
68-
timeout := 5 * time.Minute
69-
if len(config.RegistryVersion) != 0 {
70-
timeout = 10 * time.Minute
71-
}
67+
timeout := 30 * time.Second
7268
ctx, cancel := context.WithDeadline(context.Background(), time.Now().Add(timeout))
7369

7470
// The following code sets up the kind cluster, installs the Envoy Gateway, and installs the AI Gateway.

0 commit comments

Comments
 (0)