Skip to content

Commit f495019

Browse files
committed
test(agent/agentssh): fix channel timeout in TestNewServer_CloseActiveConnections
1 parent ec003b7 commit f495019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/agentssh/agentssh_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ func TestNewServer_CloseActiveConnections(t *testing.T) {
214214
}
215215

216216
for _, ch := range waitConns {
217-
<-ch
217+
testutil.RequireReceive(ctx, t, ch)
218218
}
219219

220220
return s, wg.Wait

0 commit comments

Comments
 (0)