From 18f11577cce8b8a1282013312ea95e4955005e94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Cl=C3=A9ment=20B=C3=A9nier?= Date: Tue, 21 Aug 2018 18:06:09 +0200 Subject: [PATCH] test xds-server: explicitly kill process MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: If28b332c51318ff264f247c7f52a5dc253c20a0f Signed-off-by: Clément Bénier --- test/xdsserver_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() } -- 2.16.6