Method
setTestDefaults
(tests []v1alpha3.TestConfiguration)
Source from the content-addressed store, hash-verified
| 116 | } |
| 117 | |
| 118 | func (o Scorecard) setTestDefaults(tests []v1alpha3.TestConfiguration) []v1alpha3.TestConfiguration { |
| 119 | for i := range tests { |
| 120 | if len(tests[i].Storage.Spec.MountPath.Path) == 0 { |
| 121 | tests[i].Storage.Spec.MountPath.Path = o.Config.Storage.Spec.MountPath.Path |
| 122 | } |
| 123 | } |
| 124 | return tests |
| 125 | } |
| 126 | |
| 127 | func (o Scorecard) runStageParallel(ctx context.Context, tests []v1alpha3.TestConfiguration, results chan<- v1alpha3.Test) { |
| 128 | var wg sync.WaitGroup |
Tested by
no test coverage detected