MCPcopy Index your code
hub / github.com/coder/coder / TestCreateAgentClient_AWSAgentName

Function TestCreateAgentClient_AWSAgentName

cli/root_test.go:360–368  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

358}
359
360func TestCreateAgentClient_AWSAgentName(t *testing.T) {
361 t.Parallel()
362
363 client := createAgentWithFlags(t,
364 "--auth", "aws-instance-identity",
365 "--agent-url", "http://coder.fake",
366 "--agent-name", "aws-agent")
367 requireInstanceIdentityAgentName(t, client, &agentsdk.AWSSessionTokenExchanger{}, "aws-agent")
368}
369
370func TestCreateAgentClient_AzureAgentName(t *testing.T) {
371 t.Parallel()

Callers

nothing calls this directly

Calls 2

createAgentWithFlagsFunction · 0.85

Tested by

no test coverage detected