mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +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{})
|
stopCh := make(chan struct{})
|
||||||
closeFn := func() {
|
closeFn := func() {
|
||||||
|
m.GenericAPIServer.RunPreShutdownHooks()
|
||||||
close(stopCh)
|
close(stopCh)
|
||||||
s.Close()
|
s.Close()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user