Skip to content

Commit

Permalink
Improve repositores code
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Sverdlov <[email protected]>
  • Loading branch information
sverdlov93 committed Oct 13, 2024
1 parent fc3baac commit 2af5a7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions maven_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func TestMavenBuildWithServerID(t *testing.T) {

func TestMavenBuildWithNoProxy(t *testing.T) {
initMavenTest(t, false)
// jfrog-ignore - not a real password
setEnvCallBack := clientTestUtils.SetEnvWithCallbackAndAssert(t, buildUtils.HttpProxyEnvKey, "http://login:[email protected]:8888")
defer setEnvCallBack()
// Set noProxy to match all to skip http proxy configuration
Expand All @@ -69,6 +70,7 @@ func TestMavenBuildWithNoProxy(t *testing.T) {

func TestMavenBuildWithNoProxyHttps(t *testing.T) {
initMavenTest(t, false)
// jfrog-ignore - not a real password
setHttpsEnvCallBack := clientTestUtils.SetEnvWithCallbackAndAssert(t, buildUtils.HttpsProxyEnvKey, "https://logins:[email protected]:8889")
defer setHttpsEnvCallBack()
// Set noProxy to match all to skip https proxy configuration
Expand Down

0 comments on commit 2af5a7b

Please sign in to comment.