From 5e39fc0bf3068540d7872cfd4428600260a6fc6f Mon Sep 17 00:00:00 2001 From: YEVHENII SHCHERBINA Date: Thu, 18 Dec 2025 21:55:02 +0000 Subject: [PATCH] feat: remove unnecessary proxy env vars from test env --- e2e_tests/landjail/landjail_framework_test.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/e2e_tests/landjail/landjail_framework_test.go b/e2e_tests/landjail/landjail_framework_test.go index 2de8e44..a7e52e6 100644 --- a/e2e_tests/landjail/landjail_framework_test.go +++ b/e2e_tests/landjail/landjail_framework_test.go @@ -9,7 +9,6 @@ import ( "testing" "time" - "github.com/coder/boundary/config" "github.com/coder/boundary/e2e_tests/util" "github.com/stretchr/testify/require" ) @@ -210,12 +209,8 @@ func (lt *LandjailTest) makeRequest(url string) []byte { lt.t.Fatalf("landjail pipes not initialized") } - userInfo := config.GetUserInfo() - proxyURL := fmt.Sprintf("http://localhost:%d", 8080) // Default proxy port - // Build curl command with SSL_CERT_FILE and proxy environment variables - curlCmd := fmt.Sprintf("env SSL_CERT_FILE=%s HTTP_PROXY=%s HTTPS_PROXY=%s http_proxy=%s https_proxy=%s curl -sS %s\n", - userInfo.CACertPath(), proxyURL, proxyURL, proxyURL, proxyURL, url) + curlCmd := fmt.Sprintf("curl -sS %s\n", url) // Write command to stdin _, err := lt.bashStdin.Write([]byte(curlCmd))