Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions e2e_tests/landjail/landjail_framework_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"testing"
"time"

"github.com/coder/boundary/config"
"github.com/coder/boundary/e2e_tests/util"
"github.com/stretchr/testify/require"
)
Expand Down Expand Up @@ -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))
Expand Down
Loading