Skip to content

Commit 5e39fc0

Browse files
feat: remove unnecessary proxy env vars from test env
1 parent c17c12d commit 5e39fc0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

e2e_tests/landjail/landjail_framework_test.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import (
99
"testing"
1010
"time"
1111

12-
"github.com/coder/boundary/config"
1312
"github.com/coder/boundary/e2e_tests/util"
1413
"github.com/stretchr/testify/require"
1514
)
@@ -210,12 +209,8 @@ func (lt *LandjailTest) makeRequest(url string) []byte {
210209
lt.t.Fatalf("landjail pipes not initialized")
211210
}
212211

213-
userInfo := config.GetUserInfo()
214-
proxyURL := fmt.Sprintf("http://localhost:%d", 8080) // Default proxy port
215-
216212
// Build curl command with SSL_CERT_FILE and proxy environment variables
217-
curlCmd := fmt.Sprintf("env SSL_CERT_FILE=%s HTTP_PROXY=%s HTTPS_PROXY=%s http_proxy=%s https_proxy=%s curl -sS %s\n",
218-
userInfo.CACertPath(), proxyURL, proxyURL, proxyURL, proxyURL, url)
213+
curlCmd := fmt.Sprintf("curl -sS %s\n", url)
219214

220215
// Write command to stdin
221216
_, err := lt.bashStdin.Write([]byte(curlCmd))

0 commit comments

Comments
 (0)