Clean apiserver shutdown in integration tests
This commit is contained in:
@@ -186,6 +186,7 @@ func startAPIServerOrDie(controlPlaneConfig *controlplane.Config, incomingServer
|
||||
m.GenericAPIServer.RunPreShutdownHooks()
|
||||
}
|
||||
close(stopCh)
|
||||
m.GenericAPIServer.Destroy()
|
||||
s.Close()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user