Clean shutdown of apply integration tests

This commit is contained in:
Wojciech Tyczyński
2022-11-05 20:09:43 +01:00
parent c519bc02e8
commit 71d87272de
4 changed files with 11 additions and 2 deletions

View File

@@ -63,6 +63,7 @@ func TestCoreResourceEnqueue(t *testing.T) {
testutils.SyncInformerFactory(testCtx)
defer testutils.CleanupTest(t, testCtx)
defer testCtx.Scheduler.SchedulingQueue.Close()
cs, ns, ctx := testCtx.ClientSet, testCtx.NS.Name, testCtx.Ctx
// Create one Node with a taint.