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

Commit712098f

Browse files
authored
test(agent): Increase the time to wait for agent reachable (#7245)
1 parent501dfee commit712098f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎agent/agent_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,9 @@ func setupAgent(t *testing.T, metadata agentsdk.Manifest, ptyTimeout time.Durati
17781778
t.Cleanup(func() {
17791779
_=agentConn.Close()
17801780
})
1781-
ctx,cancel:=context.WithTimeout(context.Background(),testutil.WaitMedium)
1781+
// Ideally we wouldn't wait too long here, but sometimes the the
1782+
// networking needs more time to resolve itself.
1783+
ctx,cancel:=context.WithTimeout(context.Background(),testutil.WaitLong)
17821784
defercancel()
17831785
if!agentConn.AwaitReachable(ctx) {
17841786
t.Fatal("agent not reachable")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp