Skip to content

Commit

Permalink
increase http runner duration and fix e2e makefile
Browse files Browse the repository at this point in the history
Signed-off-by: shawnh2 <shawnhxh@outlook.com>
  • Loading branch information
shawnh2 committed Apr 26, 2024
1 parent 12c6c64 commit 7304149
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/e2e/tests/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func runLoadAndWait(t *testing.T, timeoutConfig config.TimeoutConfig, done chan
RunnerOptions: periodic.RunnerOptions{
QPS: 5000,
// allow some overhead time for setting up workers and tearing down after restart
Duration: timeoutConfig.CreateTimeout + timeoutConfig.CreateTimeout/2,
Duration: timeoutConfig.CreateTimeout * 2,
NumThreads: 50,
Stop: aborter,
Out: io.Discard,
Expand Down
4 changes: 2 additions & 2 deletions tools/make/kube.mk
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ ifeq ($(E2E_RUN_TEST),)
go test -v -tags e2e ./test/e2e/upgrade --gateway-class=upgrade --debug=true --cleanup-base-resources=$(E2E_CLEANUP)
else
ifeq ($(E2E_RUN_EG_UPGRADE_TESTS),false)
go test -v -tags e2e ./test/e2e/merge_gateways --gateway-class=merge-gateways --debug=true --cleanup-base-resources=false \
go test -v -tags e2e ./test/e2e --gateway-class=envoy-gateway --debug=true --cleanup-base-resources=false \
--run-test $(E2E_RUN_TEST)
go test -v -tags e2e ./test/e2e --gateway-class=envoy-gateway --debug=true --cleanup-base-resources=$(E2E_CLEANUP) \
go test -v -tags e2e ./test/e2e/merge_gateways --gateway-class=merge-gateways --debug=true --cleanup-base-resources=$(E2E_CLEANUP) \
--run-test $(E2E_RUN_TEST)
else
go test -v -tags e2e ./test/e2e/upgrade --gateway-class=upgrade --debug=true --cleanup-base-resources=$(E2E_CLEANUP) \
Expand Down

0 comments on commit 7304149

Please sign in to comment.