test(agent): fix TestAgent_Metadata/Once flake (#8613)

This commit is contained in:
Colin Adler
2023-07-20 13:49:44 -05:00
committed by GitHub
parent deb9261232
commit c8d65de4b7
4 changed files with 87 additions and 41 deletions

View File

@ -176,7 +176,7 @@ func setupAgent(t *testing.T, agentAddresses []netip.Prefix) (uuid.UUID, agent.A
_ = coord.Close()
})
c := agenttest.NewClient(t, manifest.AgentID, manifest, make(chan *agentsdk.Stats, 50), coord)
c := agenttest.NewClient(t, logger, manifest.AgentID, manifest, make(chan *agentsdk.Stats, 50), coord)
options := agent.Options{
Client: c,