fix integration test cleanup
This commit is contained in:
@@ -119,6 +119,7 @@ func startMasterOrDie(masterConfig *master.Config, incomingServer *httptest.Serv
|
|||||||
|
|
||||||
stopCh := make(chan struct{})
|
stopCh := make(chan struct{})
|
||||||
closeFn := func() {
|
closeFn := func() {
|
||||||
|
m.GenericAPIServer.RunPreShutdownHooks()
|
||||||
close(stopCh)
|
close(stopCh)
|
||||||
s.Close()
|
s.Close()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user