Skip to content

Commit a5b7eac

Browse files
committed
make gen
Signed-off-by: Spike Curtis <spike@coder.com>
1 parent a11207f commit a5b7eac

File tree

3 files changed

+2
-30
lines changed

3 files changed

+2
-30
lines changed

enterprise/tailnet/multiagent_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ func TestPGCoordinator_MultiAgent_TwoAgents(t *testing.T) {
322322
agent1.UpdateDERP(5)
323323

324324
agent2 := agpltest.NewAgent(ctx, t, coord2, "agent2")
325-
defer agent1.Close(ctx)
325+
defer agent2.Close(ctx)
326326
agent2.UpdateDERP(6)
327327

328328
ma1 := tailnettest.NewTestMultiAgent(t, coord3)

tailnet/tailnettest/coordinatormock.go

Lines changed: 0 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tailnet/test/peer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ func (p *Peer) AssertEventuallyResponsesClosed() {
233233

234234
func (p *Peer) AssertNotClosed(d time.Duration) {
235235
p.t.Helper()
236+
// nolint: gocritic // erroneously thinks we're hardcoding non testutil constants here
236237
ctx, cancel := context.WithTimeout(context.Background(), d)
237238
defer cancel()
238239
for {

0 commit comments

Comments
 (0)