diff --git a/release-testing/secretless_test.go b/release-testing/secretless_test.go index 9bc630a..e0c7fc2 100644 --- a/release-testing/secretless_test.go +++ b/release-testing/secretless_test.go @@ -1,9 +1,11 @@ +//go:build release_test // +build release_test package main import ( "errors" + "fmt" "os/exec" "testing" @@ -50,10 +52,14 @@ exec_conjur_client conjur variable values add test-app-secrets/username ` + expe ` exec_app bash -exc ' export http_proxy=http://localhost:8080 +response=$(curl -s "http://httpbin.org/anything") +echo $response -curl -s "http://httpbin.org/anything" | jq -j ".headers.Authorization" +echo $response | jq -j ".headers.Authorization" ' `) + fmt.Println(out) + fmt.Println(string(err)) if !assert.NoError(t, err) { return }