diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 55b3978d4aa05ee1143a0cea076c9bc58834aa65..3816416f2fee11909da73a88761b2e7fb1c38b4d 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -201,6 +201,12 @@ jobs: echo "------------------------" docker volume ls echo "------------------------" + - name: Install Gopogh + continue-on-error: true + shell: powershell + run: | + $ErrorActionPreference = "SilentlyContinue" + Invoke-WebRequest -Uri "https://github.com/medyagh/gopogh/releases/download/v0.1.23/gopogh.exe" -OutFile 'C:\ProgramData\chocolatey\bin\gopogh.exe' - name: Run Integration Test in powershell continue-on-error: true shell: powershell @@ -269,7 +275,7 @@ jobs: TIME_ELAPSED: time JOB_NAME: "functional_test_hyperv_windows" GOPOGH_RESULT: "" - runs-on: [self-hosted, windows-10-ent, Standard_D16s_v3] + runs-on: [self-hosted, windows-10-ent, Standard_D16s_v3, hyperv] steps: - name: Clean up continue-on-error: true @@ -303,6 +309,12 @@ jobs: ls echo $env:computername Get-WmiObject -class Win32_ComputerSystem + - name: Install Gopogh + continue-on-error: true + shell: powershell + run: | + $ErrorActionPreference = "SilentlyContinue" + Invoke-WebRequest -Uri "https://github.com/medyagh/gopogh/releases/download/v0.1.23/gopogh.exe" -OutFile 'C:\ProgramData\chocolatey\bin\gopogh.exe' - name: Run Integration Test in powershell continue-on-error: true shell: powershell diff --git a/test/integration/fn_tunnel_cmd.go b/test/integration/fn_tunnel_cmd.go index 6b624d5e24b009705924f666775f9285e14f0e51..8833aca48d14f23e7282dfb246fbf9330abfe131 100644 --- a/test/integration/fn_tunnel_cmd.go +++ b/test/integration/fn_tunnel_cmd.go @@ -49,9 +49,6 @@ var ( ) func validateTunnelCmd(ctx context.Context, t *testing.T, profile string) { - if HyperVDriver() { - t.Skipf("skipping tunnel for hyperv driver") - } ctx, cancel := context.WithTimeout(ctx, Minutes(20)) type validateFunc func(context.Context, *testing.T, string) defer cancel() @@ -119,9 +116,6 @@ func getKubeDNSIP(t *testing.T, profile string) string { // validateTunnelStart starts `minikube tunnel` func validateTunnelStart(ctx context.Context, t *testing.T, profile string) { - if HyperVDriver() { - t.Skipf("skipping tunnel for hyperv driver") - } checkRoutePassword(t) args := []string{"-p", profile, "tunnel", "--alsologtostderr"} @@ -134,9 +128,6 @@ func validateTunnelStart(ctx context.Context, t *testing.T, profile string) { // validateServiceStable starts nginx pod, nginx service and waits nginx having loadbalancer ingress IP func validateServiceStable(ctx context.Context, t *testing.T, profile string) { - if HyperVDriver() { - t.Skipf("skipping service test for hyperv driver ") - } checkRoutePassword(t) client, err := kapi.Client(profile) @@ -342,9 +333,6 @@ func validateAccessDNS(ctx context.Context, t *testing.T, profile string) { // validateTunnelDelete stops `minikube tunnel` func validateTunnelDelete(ctx context.Context, t *testing.T, profile string) { - if HyperVDriver() { - t.Skipf("skipping tunnel for hyperv driver") - } checkRoutePassword(t) // Stop tunnel tunnelSession.Stop(t)