mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Clean up daemonset test names
This commit is contained in:
parent
eb3dbac90e
commit
2cea9c5d51
@ -416,7 +416,7 @@ func updateDS(t *testing.T, dsClient appstyped.DaemonSetInterface, dsName string
|
||||
|
||||
func forEachStrategy(t *testing.T, tf func(t *testing.T, strategy *apps.DaemonSetUpdateStrategy)) {
|
||||
for _, strategy := range updateStrategies() {
|
||||
t.Run(fmt.Sprintf("%s (%v)", t.Name(), strategy),
|
||||
t.Run(fmt.Sprintf("%s_%s", t.Name(), strategy.Type),
|
||||
func(tt *testing.T) { tf(tt, strategy) })
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user