Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyLuLiu committed Dec 25, 2024
1 parent 1e878af commit c13eab8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions test/e2e/testsuite/testsuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,8 @@ func InitializeScenario(s *godog.ScenarioContext) {
}

if tag.Name == "@proxy" {

// start container with squid proxy
err := util.ExecuteCommand("podman run --name squid -d -p 3128:3128 quay.io/crcont/squid")
err := util.ExecuteCommand("sudo dnf install podman -y;podman run --name squid -d -p 3128:3128 quay.io/crcont/squid")
if err != nil {
fmt.Println(err)
os.Exit(1)
Expand Down
3 changes: 0 additions & 3 deletions test/integration/proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ var _ = Describe("", Serial, Ordered, Label("openshift-preset", "goproxy"), func
Expect(RunCRCExpectSuccess("config", "set", "https-proxy", httpsProxy)).To(ContainSubstring("Successfully configured https-proxy"))
Expect(RunCRCExpectSuccess("config", "set", "no-proxy", noProxy)).To(ContainSubstring("Successfully configured no-proxy"))
Expect(RunCRCExpectSuccess("config", "set", "proxy-ca-file", util.CACertTempLocation)).To(ContainSubstring("Successfully configured proxy-ca-file"))
if runtime.GOOS != "linux" {
Expect(RunCRCExpectSuccess("config", "set", "host-network-access", "true")).To(ContainSubstring("Changes to configuration property 'host-network-access' are only applied during 'crc setup'"))
}
})

It("setup CRC", func() {
Expand Down

0 comments on commit c13eab8

Please sign in to comment.