From 930745946f41860a2974c08613c3e012d1445f5a Mon Sep 17 00:00:00 2001 From: r2k1 Date: Thu, 8 Aug 2024 11:22:07 +1200 Subject: [PATCH 1/2] update recommended flags for vscode --- e2e/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/README.md b/e2e/README.md index db482ffd5e1..55c491a8fd1 100644 --- a/e2e/README.md +++ b/e2e/README.md @@ -108,7 +108,7 @@ Add to `settings.json`: ```json { - "go.testFlags": ["-parallel=100"], + "go.testFlags": ["-parallel=100", "-v"], "go.testTimeout": "30m" } ``` From 8d0acaa53d0afe5008472d7efc27f1a6ec881f12 Mon Sep 17 00:00:00 2001 From: r2k1 Date: Thu, 8 Aug 2024 11:25:53 +1200 Subject: [PATCH 2/2] unify timeout values --- e2e/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/README.md b/e2e/README.md index 55c491a8fd1..184785f585b 100644 --- a/e2e/README.md +++ b/e2e/README.md @@ -65,7 +65,7 @@ To run a specific test, use the test name: ```bash TAGS_TO_RUN="name=Test_azurelinuxv2" ./e2e-local.sh # or -go test -run Test_azurelinuxv2 -v -timeout 20m +go test -run Test_azurelinuxv2 -v -timeout 90m ``` @@ -96,11 +96,11 @@ Azure resources are deleted periodically by an external garbage collector. Local ### Global Settings -Set `GOFLAGS="-timeout=30m -parallel=100"` in your shell configuration file. +Set `GOFLAGS="-timeout=90m -parallel=100"` in your shell configuration file. ### GoLand -In **Run > Edit Configurations...**, set `-timeout=60m -parallel=100` in the Go tool arguments field. +In **Run > Edit Configurations...**, set `-timeout=90m -parallel=100` in the Go tool arguments field. ### VSCode @@ -109,7 +109,7 @@ Add to `settings.json`: ```json { "go.testFlags": ["-parallel=100", "-v"], - "go.testTimeout": "30m" + "go.testTimeout": "90m" } ```