From 71c75d6dcba69ccaecde4132117f45cba5b68fe0 Mon Sep 17 00:00:00 2001 From: Xun Jiang Date: Wed, 24 Jul 2024 15:34:25 +0800 Subject: [PATCH] Set the Ginkgo timeout to 5 hours. Signed-off-by: Xun Jiang --- test/Makefile | 2 ++ test/e2e/README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index bdf87183b3..ff62230b32 100644 --- a/test/Makefile +++ b/test/Makefile @@ -169,6 +169,7 @@ run-e2e: ginkgo -v \ --junit-report report.xml \ --label-filter="$(GINKGO_LABELS)" \ + --timeout=5h \ ./e2e \ -- $(COMMON_ARGS) \ --upgrade-from-velero-cli=$(UPGRADE_FROM_VELERO_CLI) \ @@ -208,6 +209,7 @@ run-perf: ginkgo -v \ --junit-report report.xml \ --label-filter="$(GINKGO_LABELS)" \ + --timeout=5h \ ./perf \ -- $(COMMON_ARGS) \ --nfs-server-path=$(NFS_SERVER_PATH) \ diff --git a/test/e2e/README.md b/test/e2e/README.md index 4da989f8eb..1afb113fb2 100644 --- a/test/e2e/README.md +++ b/test/e2e/README.md @@ -255,7 +255,7 @@ E2E tests can be run with specific cases to be included and/or excluded using th 1. Run Velero tests with specific cases to be excluded: ```bash - GINKGO_LABELS="!Scale || !Schedule || !TTL || !(Upgrade && Restic) || !(Migration && Restic)" \ + GINKGO_LABELS="!(Scale || Schedule || TTL || (Upgrade && Restic) || (Migration && Restic))" \ CLOUD_PROVIDER=aws \ BSL_BUCKET=example-bucket \ CREDS_FILE=/path/to/aws-creds \