Commit b1f8f62
test: reduce the number of examples tests running in parallel
- `t.Parallel()` marks a test function, telling Go that it can be run
in parallel with other functions in the same package.
- `-parallel` determines "how many test functions inside a single test
package can run in parallel".
As all examples tests are using `t.Parallel()`, they all run in
parallel. This might overwhelm the kind cluster a bit. This is making
sure we run at most 6 of them at the same time.
It also removes the parents `t.Parallel()` as this is.. just weird.
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>1 parent 430ddae commit b1f8f62
2 files changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | 206 | | |
208 | 207 | | |
209 | 208 | | |
| |||
0 commit comments