Explorar o código

kill server faster

Darien Raymond %!s(int64=8) %!d(string=hai) anos
pai
achega
c55f737dd0
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      testing/scenarios/common.go

+ 2 - 0
testing/scenarios/common.go

@@ -110,6 +110,8 @@ func CloseAllServers() {
 	log.Trace(errors.New("Closing all servers."))
 	for _, server := range runningServers {
 		server.Process.Signal(os.Interrupt)
+	}
+	for _, server := range runningServers {
 		server.Process.Wait()
 	}
 	runningServers = make([]*exec.Cmd, 0, 10)