mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-27 03:44:04 +00:00
Enable testing logger in the remaining scheduler tests.
This commit is contained in:
@@ -803,7 +803,8 @@ func BenchmarkVolumeZone(b *testing.B) {
|
||||
|
||||
for _, tt := range tests {
|
||||
b.Run(tt.Name, func(b *testing.B) {
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
_, ctx := ktesting.NewTestContext(b)
|
||||
ctx, cancel := context.WithCancel(ctx)
|
||||
defer cancel()
|
||||
nodes := makeNodesWithTopologyZone(tt.NumNodes)
|
||||
pl := newPluginWithListers(ctx, b, []*v1.Pod{tt.Pod}, nodes, makePVCsWithPV(tt.NumPVC), makePVsWithZoneLabel(tt.NumPV))
|
||||
|
||||
Reference in New Issue
Block a user