Add BenchmarkSchedulingWaitForFirstConsumerPVs benchmark

This commit is contained in:
Maciej Borsz
2020-02-19 11:37:41 +01:00
parent 13750a0843
commit bd8ed0a2a7
7 changed files with 198 additions and 16 deletions

View File

@@ -61,8 +61,10 @@ func mustSetupScheduler() (util.ShutdownFunc, coreinformers.PodInformer, clients
Burst: 5000,
})
_, podInformer, schedulerShutdown := util.StartScheduler(clientSet)
fakePVControllerShutdown := util.StartFakePVController(clientSet)
shutdownFunc := func() {
fakePVControllerShutdown()
schedulerShutdown()
apiShutdown()
}