From 63c13e8b98cb2e9410034412e4ccb524933d5673 Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Fri, 17 Jun 2016 10:47:15 -0700 Subject: [PATCH] etcd-agent: fix test --- tools/functional-tester/etcd-agent/agent_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/functional-tester/etcd-agent/agent_test.go b/tools/functional-tester/etcd-agent/agent_test.go index fb7d09c93..5d0eb706c 100644 --- a/tools/functional-tester/etcd-agent/agent_test.go +++ b/tools/functional-tester/etcd-agent/agent_test.go @@ -18,6 +18,7 @@ import ( "io/ioutil" "os" "path/filepath" + "syscall" "testing" ) @@ -46,7 +47,7 @@ func TestAgentRestart(t *testing.T) { t.Fatal(err) } - err = a.stop() + err = a.stopWithSig(syscall.SIGTERM) if err != nil { t.Fatal(err) }