diff --git a/agent/util_test.go b/agent/util_test.go index ae57fdea16..725a571911 100644 --- a/agent/util_test.go +++ b/agent/util_test.go @@ -202,7 +202,7 @@ func TestHelperProcess(t *testing.T) { limitProcessLifetime(2 * time.Minute) ch := make(chan os.Signal, 10) - signal.Notify(ch) + signal.Notify(ch, forwardSignals...) defer signal.Stop(ch) fmt.Fprintf(os.Stdout, "ready\n")