Skip to content

Commit

Permalink
Modified engine_test.go file (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiantang authored Aug 28, 2023
1 parent 4890388 commit 45cb622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ func TestCtrlCWhenHaveKillDelay(t *testing.T) {
t.Logf("engine stopped")
}()
sigs := make(chan os.Signal, 1)
signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)
signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM, syscall.SIGHUP)
go func() {
<-sigs
engine.Stop()
Expand Down

0 comments on commit 45cb622

Please sign in to comment.