Skip to content

Commit

Permalink
use daemonset for windows-np test
Browse files Browse the repository at this point in the history
Signed-off-by: Zhecheng Li <lzhecheng@vmware.com>
  • Loading branch information
lzhecheng committed Jul 28, 2021
1 parent 04a3a3a commit 762cf87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/jenkins/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ function deliver_antrea_windows {
chmod -R g-w build/images/ovs
chmod -R g-w build/images/base
DOCKER_REGISTRY="${DOCKER_REGISTRY}" ./hack/build-antrea-ubuntu-all.sh --pull
if [[ "$TESTCASE" =~ "networkpolicy" ]]; then
if [[ "$TESTCASE" =~ "networkpolicy-no" ]]; then
make windows-bin
make antctl-windows
fi
Expand Down Expand Up @@ -280,7 +280,7 @@ function deliver_antrea_windows {
done

# Use a script to run antrea agent in windows Network Policy cases
if [ "$TESTCASE" == "windows-networkpolicy" ]; then
if [ "$TESTCASE" == "windows-networkpolicy-no" ]; then
for i in `seq 24`; do
sleep 5
ssh -o StrictHostKeyChecking=no -n Administrator@${IP} "W32tm /resync /force" | grep successfully && break
Expand Down Expand Up @@ -508,7 +508,7 @@ function run_conformance_windows {

echo "====== Run test with e2e.test ======"
export KUBE_TEST_REPO_LIST=${WORKDIR}/repo_list
if [ "$TESTCASE" == "windows-networkpolicy" ]; then
if [ "$TESTCASE" == "windows-networkpolicy-no" ]; then
ginkgo -p -nodes 8 --seed=1592804472 --noColor $E2ETEST_PATH -- --provider=skeleton --ginkgo.focus="$WINDOWS_NETWORKPOLICY_FOCUS" --ginkgo.skip="$WINDOWS_NETWORKPOLICY_SKIP" > windows_conformance_result_no_color.txt || true
else
ginkgo --noColor $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
Expand Down

0 comments on commit 762cf87

Please sign in to comment.