From 35762b7b28ad95b561534fb516df2f2c9a5b2872 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Fri, 27 Jul 2018 12:31:22 +0200 Subject: [PATCH] change to sigterm --- testing/scenarios/common.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/scenarios/common.go b/testing/scenarios/common.go index bfc8c03c2..b6b57f391 100644 --- a/testing/scenarios/common.go +++ b/testing/scenarios/common.go @@ -4,11 +4,11 @@ import ( "fmt" "io" "io/ioutil" - "os" "os/exec" "path/filepath" "runtime" "sync" + "syscall" "time" "github.com/golang/protobuf/proto" @@ -113,7 +113,7 @@ func CloseAllServers(servers []*exec.Cmd) { Content: "Closing all servers.", }) for _, server := range servers { - server.Process.Signal(os.Interrupt) + server.Process.Signal(syscall.SIGTERM) } for _, server := range servers { server.Process.Wait()