Merge pull request #93587 from liggitt/daemonset-test-name

Clean up daemonset test names
This commit is contained in:
Kubernetes Prow Robot 2020-08-28 06:37:40 -07:00 committed by GitHub
commit d9789c4fa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) })
}
}