Change port in TestArtifactoryProxy.
@@ -1003,7 +1003,7 @@ func TestArtifactoryProxy(t *testing.T) {
var httpProxyEnv string
testArgs := []string{"-test.artifactoryProxy=true", "-rt.url=" + *tests.RtUrl, "-rt.user=" + *tests.RtUser, "-rt.password=" + *tests.RtPassword, "-rt.apikey=" + *tests.RtApiKey, "-rt.sshKeyPath=" + *tests.RtSshKeyPath, "-rt.sshPassphrase=" + *tests.RtSshPassphrase}
if rtUrl.Scheme == "https" {
- os.Setenv(tests.HttpsProxyEnvVar, "1025")
+ os.Setenv(tests.HttpsProxyEnvVar, "1026")
proxyTestArgs = append([]string{"test", "-run=TestArtifactoryHttpsProxyEnvironmentVariableDelegator"}, testArgs...)
httpProxyEnv = "HTTPS_PROXY=localhost:" + cliproxy.GetProxyHttpsPort()
} else {
