mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 11:13:48 +00:00
scheduler_perf: use different log names for different DRA drivers
This helps when using -feature-gate=ContextualLogging=true and running the SchedulingWithMultipleResourceClaims test case because then output from the two driver instances is easy to distinguish.
This commit is contained in:
parent
6eca142082
commit
78f3b76390
@ -216,7 +216,7 @@ func (op *createResourceDriverOp) run(ctx context.Context, tb testing.TB, client
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
ctx := klog.NewContext(ctx, klog.LoggerWithName(klog.FromContext(ctx), "DRA test driver"))
|
||||
ctx := klog.NewContext(ctx, klog.LoggerWithName(klog.FromContext(ctx), op.DriverName))
|
||||
controller.Run(ctx, 5 /* workers */)
|
||||
}()
|
||||
tb.Cleanup(func() {
|
||||
|
Loading…
Reference in New Issue
Block a user