From 2823fd0e2a049d814699538cb9b8c356ea2c370e Mon Sep 17 00:00:00 2001 From: Priya Wadhwa Date: Tue, 12 Jan 2021 11:43:42 -0800 Subject: [PATCH] Test scheduled stop on windows in github actions --- .github/workflows/pr.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ea8515c994..6c2b6078b6 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -277,11 +277,11 @@ jobs: if [ "$numPass" -eq 0 ];then echo "*** 0 Passed! ***";exit 2;fi if [ "$numPass" -lt 33 ];then echo "*** Failed to pass at least 33 ! ***";exit 2;fi if [ "$numPass" -eq 0 ];then echo "*** Passed! ***";exit 0;fi - functional_docker_windows: + functional_scheduled_stop_docker_windows: needs: [build_minikube] env: TIME_ELAPSED: time - JOB_NAME: "functional_docker_windows" + JOB_NAME: "functional_scheduled_stop_docker_windows" GOPOGH_RESULT: "" STAT: "" runs-on: [self-hosted, windows-10-ent, 8CPUs] @@ -364,7 +364,7 @@ jobs: $env:KUBECONFIG="${pwd}\testhome\kubeconfig" $env:MINIKUBE_HOME="${pwd}\testhome" $ErrorActionPreference = "SilentlyContinue" - .\e2e-windows-amd64.exe --minikube-start-args="--driver=docker" --test.timeout=15m --timeout-multiplier=1 --test.v --test.run=TestFunctional --binary=./minikube-windows-amd64.exe | Tee-Object -FilePath ".\report\testout.txt" + .\e2e-windows-amd64.exe --minikube-start-args="--driver=docker" --test.timeout=15m --timeout-multiplier=1 --test.v --test.run="(TestFunctional|TestScheduledStopWindows)" --binary=./minikube-windows-amd64.exe | Tee-Object -FilePath ".\report\testout.txt" $END_TIME=(GET-DATE) echo $END_TIME $DURATION=(NEW-TIMESPAN -Start $START_TIME -End $END_TIME)