未验证 提交 908afb88 编写于 作者: M Medya Gh

revert unrelated changes

上级 e32f0084
......@@ -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
......
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册