Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf785a08

Browse files
committed
make gen
Signed-off-by: Spike Curtis <spike@coder.com>
1 parentc8af484 commitf785a08

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-
deferagent1.Close(ctx)
325+
deferagent2.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 aboutcustomizing 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
defercancel()
238239
for {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp