(t *testing.T)
| 358 | } |
| 359 | |
| 360 | func 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 | |
| 370 | func TestCreateAgentClient_AzureAgentName(t *testing.T) { |
| 371 | t.Parallel() |
nothing calls this directly
no test coverage detected