Skip to content

Commit dbdcad0

Browse files
authored
test(agent/agentssh): fix flake in signal test (#10855)
1 parent 34841cf commit dbdcad0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agent/agentssh/agentssh_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ func TestNewServer_Signal(t *testing.T) {
216216
}
217217
require.NoError(t, sc.Err())
218218

219-
err = sess.Signal(ssh.SIGINT)
219+
err = sess.Signal(ssh.SIGKILL)
220220
require.NoError(t, err)
221221

222222
// Assumption, signal propagates and the command exists, closing stdout.
@@ -289,7 +289,7 @@ func TestNewServer_Signal(t *testing.T) {
289289
}
290290
require.NoError(t, sc.Err())
291291

292-
err = sess.Signal(ssh.SIGINT)
292+
err = sess.Signal(ssh.SIGKILL)
293293
require.NoError(t, err)
294294

295295
// Assumption, signal propagates and the command exists, closing stdout.

0 commit comments

Comments
 (0)