Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
make gen
Signed-off-by: Spike Curtis <spike@coder.com>
  • Loading branch information
spikecurtis committed Sep 12, 2024
commit 5560316772401a4eae5878d41dceb690ff61663b
2 changes: 1 addition & 1 deletion enterprise/tailnet/multiagent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ func TestPGCoordinator_MultiAgent_TwoAgents(t *testing.T) {
agent1.UpdateDERP(5)

agent2 := agpltest.NewAgent(ctx, t, coord2, "agent2")
defer agent1.Close(ctx)
defer agent2.Close(ctx)
agent2.UpdateDERP(6)

ma1 := tailnettest.NewTestMultiAgent(t, coord3)
Expand Down
29 changes: 0 additions & 29 deletions tailnet/tailnettest/coordinatormock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tailnet/test/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ func (p *Peer) AssertEventuallyResponsesClosed() {

func (p *Peer) AssertNotClosed(d time.Duration) {
p.t.Helper()
// nolint: gocritic // erroneously thinks we're hardcoding non testutil constants here
ctx, cancel := context.WithTimeout(context.Background(), d)
defer cancel()
for {
Expand Down
Loading