Skip to content

Commit

Permalink
fix(e2e): increase build timeout for native build tests: 40m -> 60m
Browse files Browse the repository at this point in the history
  • Loading branch information
tadayosi committed Oct 26, 2022
1 parent 055b112 commit 8c8b465
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion e2e/namespace/native/native_binding_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func TestNativeBinding(t *testing.T) {
WithNewTestNamespace(t, func(ns string) {
operatorID := "camel-k-native-binding"
Expect(KamelInstallWithID(operatorID, ns,
"--build-timeout", "40m0s",
"--build-timeout", "60m0s",
"--operator-resources", "limits.memory=4.5Gi",
"--maven-cli-option", "-Dquarkus.native.native-image-xmx=3g",
).Execute()).To(Succeed())
Expand Down
2 changes: 1 addition & 1 deletion e2e/namespace/native/native_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func TestNativeIntegrations(t *testing.T) {
WithNewTestNamespace(t, func(ns string) {
operatorID := "camel-k-quarkus-native"
Expect(KamelInstallWithID(operatorID, ns,
"--build-timeout", "40m0s",
"--build-timeout", "60m0s",
"--operator-resources", "limits.memory=4.5Gi",
"--maven-cli-option", "-Dquarkus.native.native-image-xmx=3g",
).Execute()).To(Succeed())
Expand Down
2 changes: 1 addition & 1 deletion e2e/support/test_support.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ var TestTimeoutMedium = 5 * time.Minute
var TestTimeoutLong = 10 * time.Minute

// TestTimeoutVeryLong should be used only for testing native builds.
var TestTimeoutVeryLong = 40 * time.Minute
var TestTimeoutVeryLong = 60 * time.Minute

var NoOlmOperatorImage string

Expand Down
2 changes: 1 addition & 1 deletion script/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ test-install: do-build

test-quarkus-native: do-build
STAGING_RUNTIME_REPO="$(STAGING_RUNTIME_REPO)" \
go test -timeout 90m -v ./e2e/namespace/native -tags=integration $(TEST_QUARKUS_RUN) -json 2>&1 | gotestfmt
go test -timeout 130m -v ./e2e/namespace/native -tags=integration $(TEST_QUARKUS_RUN) -json 2>&1 | gotestfmt

test-upgrade: do-build
STAGING_RUNTIME_REPO="$(STAGING_RUNTIME_REPO)" \
Expand Down

0 comments on commit 8c8b465

Please sign in to comment.