From 6949c87d64e681d50e9f5cf86b6c175fd9e46e82 Mon Sep 17 00:00:00 2001 From: Gavin Xin Date: Fri, 26 Jan 2024 11:55:09 +0800 Subject: [PATCH] Support running Ginkgo in parallel on Windows testbeds (#5229) Update Ginkgo configuration to enable running test in parallel. This optimization reduces the execution time for the windows networkpolicy job: windows-networkpolicy: 95 min -> 56 min Signed-off-by: Shuyang Xin --- ci/jenkins/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/jenkins/test.sh b/ci/jenkins/test.sh index fda8097d451..dc3b4750cd4 100755 --- a/ci/jenkins/test.sh +++ b/ci/jenkins/test.sh @@ -940,7 +940,7 @@ function run_conformance_windows_containerd { export KUBE_TEST_REPO_LIST=${WORKDIR}/repo_list if [ "$TESTCASE" == "windows-containerd-networkpolicy" ]; then # Allow LinuxOnly mark in windows-containerd-networkpolicy because Antrea Windows supports NP functions. - ginkgo -timeout=3h --flake-attempts 3 --no-color $E2ETEST_PATH -- --provider=skeleton --ginkgo.focus="$WINDOWS_NETWORKPOLICY_FOCUS" --ginkgo.skip="$WINDOWS_NETWORKPOLICY_CONTAINERD_SKIP" > windows_conformance_result_no_color.txt || true + ginkgo -timeout=3h -p --flake-attempts 3 --no-color $E2ETEST_PATH -- --provider=skeleton --ginkgo.focus="$WINDOWS_NETWORKPOLICY_FOCUS" --ginkgo.skip="$WINDOWS_NETWORKPOLICY_CONTAINERD_SKIP" > windows_conformance_result_no_color.txt || true else ginkgo --no-color $E2ETEST_PATH -- --provider=skeleton --node-os-distro=windows --ginkgo.focus="$WINDOWS_CONFORMANCE_FOCUS" --ginkgo.skip="$WINDOWS_CONFORMANCE_SKIP" > windows_conformance_result_no_color.txt || true fi