Skip to content

Commit

Permalink
Fix antctl proxy e2e test for non-Bash shells
Browse files Browse the repository at this point in the history
  • Loading branch information
antoninbas committed Oct 30, 2020
1 parent 276bd0e commit fc5a728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/antctl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func runAntctProxy(nodeName string, nodeAntctlPath string, proxyPort int, agentN
}
pid := strings.TrimSpace(stdout)
return func() error {
cmd := fmt.Sprintf("kill -SIGINT %s", pid)
cmd := fmt.Sprintf("kill -INT %s", pid)
rc, stdout, stderr, err := RunCommandOnNode(nodeName, cmd)
if err != nil {
return fmt.Errorf("error when running command '%s' on Node: %v", cmd, err)
Expand Down

0 comments on commit fc5a728

Please sign in to comment.