etcd-agent: fix test

This commit is contained in:
Gyu-Ho Lee 2016-06-17 10:47:15 -07:00
parent 3488555bc3
commit 63c13e8b98

View File

@ -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)
}