From e0285f4a67ffdf275869f831ee99dc765519f575 Mon Sep 17 00:00:00 2001 From: Lion-Wei Date: Fri, 3 Aug 2018 18:33:38 +0800 Subject: [PATCH] fix integration test cleanup --- test/integration/framework/master_utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/framework/master_utils.go b/test/integration/framework/master_utils.go index d3e6179979e..23b523180e3 100644 --- a/test/integration/framework/master_utils.go +++ b/test/integration/framework/master_utils.go @@ -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() }