(t *testing.T)
| 348 | } |
| 349 | |
| 350 | func TestCreateAgentClient_GoogleAgentName(t *testing.T) { |
| 351 | t.Parallel() |
| 352 | |
| 353 | client := createAgentWithFlags(t, |
| 354 | "--auth", "google-instance-identity", |
| 355 | "--agent-url", "http://coder.fake", |
| 356 | "--agent-name", "google-agent") |
| 357 | requireInstanceIdentityAgentName(t, client, &agentsdk.GoogleSessionTokenExchanger{}, "google-agent") |
| 358 | } |
| 359 | |
| 360 | func TestCreateAgentClient_AWSAgentName(t *testing.T) { |
| 361 | t.Parallel() |
nothing calls this directly
no test coverage detected