fixed panic when client connected abruptly

This commit is contained in:
David Zhao
2021-01-26 17:38:47 -08:00
parent b96028b4d6
commit a065a01592
10 changed files with 54 additions and 10 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ func Test() error {
// run all thests including integration
func TestAll() error {
mg.Deps(Proto)
cmd := exec.Command("go", "test", "./...")
cmd := exec.Command("go", "test", "./...", "-count=1")
connectStd(cmd)
return cmd.Run()
}