Skip to content

Commit

Permalink
Support running Ginkgo in parallel on Windows testbeds (#5229)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
XinShuYang authored Jan 26, 2024
1 parent ddb292d commit 6949c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/jenkins/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6949c87

Please sign in to comment.