scheduler_perf: fix installing DRA test driver multiple times

The driver name configuration option was ignored, so a second driver
would have used the same name.
This commit is contained in:
Patrick Ohly 2023-08-14 12:59:49 +02:00
parent d5f2420309
commit 0331e98957

View File

@ -210,7 +210,7 @@ func (op *createResourceDriverOp) run(ctx context.Context, tb testing.TB, client
}
}
controller := draapp.NewController(clientset, "test-driver.cdi.k8s.io", resources)
controller := draapp.NewController(clientset, op.DriverName, resources)
ctx, cancel := context.WithCancel(ctx)
var wg sync.WaitGroup
wg.Add(1)