fix integration test cleanup

This commit is contained in:
Lion-Wei 2018-08-03 18:33:38 +08:00
parent d949315649
commit e0285f4a67

View File

@ -119,6 +119,7 @@ func startMasterOrDie(masterConfig *master.Config, incomingServer *httptest.Serv
stopCh := make(chan struct{})
closeFn := func() {
m.GenericAPIServer.RunPreShutdownHooks()
close(stopCh)
s.Close()
}