mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
fix integration test cleanup
This commit is contained in:
parent
d949315649
commit
e0285f4a67
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user