(t *testing.T)
| 368 | } |
| 369 | |
| 370 | func TestCreateAgentClient_AzureAgentName(t *testing.T) { |
| 371 | t.Parallel() |
| 372 | |
| 373 | client := createAgentWithFlags(t, |
| 374 | "--auth", "azure-instance-identity", |
| 375 | "--agent-url", "http://coder.fake", |
| 376 | "--agent-name", "azure-agent") |
| 377 | requireInstanceIdentityAgentName(t, client, &agentsdk.AzureSessionTokenExchanger{}, "azure-agent") |
| 378 | } |
| 379 | |
| 380 | func TestCreateAgentClient_GoogleAgentNameEnv(t *testing.T) { |
| 381 | t.Parallel() |
nothing calls this directly
no test coverage detected