From ec68a74892e5f6dfcb534955fda4ee572d51bd3e Mon Sep 17 00:00:00 2001 From: Ashley Cui Date: Mon, 25 Sep 2023 16:45:45 -0400 Subject: [PATCH] Skip proxy test for hyperV Currently proxys are not supported on hyperV, skip the test and document it for now. Opened https://github.com/containers/podman/issues/20129 to track the issue. Signed-off-by: Ashley Cui --- pkg/machine/e2e/proxy_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/machine/e2e/proxy_test.go b/pkg/machine/e2e/proxy_test.go index b5393832d7..020fad5b0b 100644 --- a/pkg/machine/e2e/proxy_test.go +++ b/pkg/machine/e2e/proxy_test.go @@ -3,6 +3,7 @@ package e2e_test import ( "os" + "github.com/containers/podman/v4/pkg/machine" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gexec" @@ -22,6 +23,10 @@ var _ = Describe("podman machine proxy settings propagation", func() { }) It("ssh to running machine and check proxy settings", func() { + // https://github.com/containers/podman/issues/20129 + if testProvider.VMType() == machine.HyperVVirt { + Skip("proxy settings not yet supported") + } name := randomString() i := new(initMachine) session, err := mb.setName(name).setCmd(i.withImagePath(mb.imagePath)).run()