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:
parent
5e4be990ff
commit
3b580d9474
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue