mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #93587 from liggitt/daemonset-test-name
Clean up daemonset test names
This commit is contained in:
commit
d9789c4fa3
@ -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)) {
|
func forEachStrategy(t *testing.T, tf func(t *testing.T, strategy *apps.DaemonSetUpdateStrategy)) {
|
||||||
for _, strategy := range updateStrategies() {
|
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) })
|
func(tt *testing.T) { tf(tt, strategy) })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user