Skip to content

Commit 35977f5

Browse files
committed
In agent, use same TFE_ADDRESS value as the integration tests
1 parent d856854 commit 35977f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helper_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func createAgent(t *testing.T, client *Client, org *Organization, agentPool *Age
121121
"run", "-d",
122122
"--env", "TFC_AGENT_TOKEN="+agentPoolToken.Token,
123123
"--env", "TFC_AGENT_NAME="+"this-is-a-test-agent",
124-
"--env", "TFC_ADDRESS="+"https://tfcdev-2c13224a.ngrok.io",
124+
"--env", "TFC_ADDRESS="+DefaultConfig().Address,
125125
"docker.mirror.hashicorp.services/hashicorp/tfc-agent:latest")
126126

127127
go func() {

0 commit comments

Comments
 (0)