modify exec driver test TestExecDriver_StartWaitStop in light of the fact that signaling sleep with SIGINT doesn't work if it's PID1

This commit is contained in:
Chris Baker 2021-01-27 13:03:09 +00:00
parent 5e4be990ff
commit 3b580d9474
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ func TestExecDriver_StartWaitStop(t *testing.T) {
select {
case result := <-ch:
require.Equal(int(unix.SIGINT), result.Signal)
require.Equal(int(unix.SIGKILL), result.Signal)
case <-time.After(10 * time.Second):
require.Fail("timeout waiting for task to shutdown")
}