diff --git a/test/e2e_node/restart_test.go b/test/e2e_node/restart_test.go index e7e827075ee..8f2f00429c3 100644 --- a/test/e2e_node/restart_test.go +++ b/test/e2e_node/restart_test.go @@ -112,7 +112,7 @@ var _ = SIGDescribe("Restart [Serial] [Slow] [Disruptive] [NodeFeature:Container } return nil }, 1*time.Minute, 2*time.Second).Should(gomega.BeNil()) - if stdout, err := exec.Command("sudo", "kill", fmt.Sprintf("%d", pid)).CombinedOutput(); err != nil { + if stdout, err := exec.Command("sudo", "kill", "-SIGKILL", fmt.Sprintf("%d", pid)).CombinedOutput(); err != nil { framework.Failf("Failed to kill container runtime (pid=%d): %v, stdout: %q", pid, err, string(stdout)) } // Assume that container runtime will be restarted by systemd/supervisord etc.