diff options
author | Clément Bénier <clement.benier@iot.bzh> | 2018-08-21 18:06:09 +0200 |
---|---|---|
committer | Clément Bénier <clement.benier@iot.bzh> | 2018-08-21 18:06:09 +0200 |
commit | 18f11577cce8b8a1282013312ea95e4955005e94 (patch) | |
tree | 6be6f578aee2e8a51f583f4b629333c174d0805f /test | |
parent | 9cc4aa5bcfa8fbab2d367fde9bc5ba4ff204c5e7 (diff) |
test xds-server: explicitly kill process
Change-Id: If28b332c51318ff264f247c7f52a5dc253c20a0f
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Diffstat (limited to 'test')
-rw-r--r-- | test/xdsserver_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/xdsserver_test.go b/test/xdsserver_test.go index 89f73a6..68206a9 100644 --- a/test/xdsserver_test.go +++ b/test/xdsserver_test.go @@ -204,7 +204,6 @@ func TestMain(m *testing.M) { log.Fatalf("status=%v\n err=%v\n", status, err) } }(proc) - defer proc.Kill() defer fileXdsServer.Close() } time.Sleep(1 * time.Second) @@ -224,4 +223,5 @@ func TestMain(m *testing.M) { } res := m.Run() defer os.Exit(res) + proc.Kill() } |