diff --git a/test/integration/proxy_test.go b/test/integration/proxy_test.go index 277288a272..9677d26eec 100644 --- a/test/integration/proxy_test.go +++ b/test/integration/proxy_test.go @@ -49,12 +49,12 @@ var _ = Describe("", Serial, Ordered, Label("openshift-preset", "goproxy"), func // Start goproxy It("configure CRC", func() { - Expect(RunCRCExpectSuccess("config", "set", "http-proxy", httpProxy), ContainSubstring("Successfully configured http-proxy")) - Expect(RunCRCExpectSuccess("config", "set", "https-proxy", httpsProxy), ContainSubstring("Successfully configured https-proxy")) - Expect(RunCRCExpectSuccess("config", "set", "no-proxy", noProxy), ContainSubstring("Successfully configured no-proxy")) - Expect(RunCRCExpectSuccess("config", "set", "proxy-ca-file", util.CACertTempLocation), ContainSubstring("Successfully configured proxy-ca-file")) + Expect(RunCRCExpectSuccess("config", "set", "http-proxy", httpProxy)).To(ContainSubstring("Successfully configured http-proxy")) + 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"), ContainSubstring("Changes to configuration property 'host-network-access' are only applied during 'crc setup'")) + Expect(RunCRCExpectSuccess("config", "set", "host-network-access", "true")).To(ContainSubstring("Changes to configuration property 'host-network-access' are only applied during 'crc setup'")) } })