Code Review
/
src
/
xds
/
xds-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
test xds-server: explicitly kill process
[src/xds/xds-server.git]
/
test
/
xdsserver_test.go
diff --git
a/test/xdsserver_test.go
b/test/xdsserver_test.go
index
89f73a6
..
68206a9
100644
(file)
--- 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()
}