This commits enables the parallelism for the image tests. However, there's a catch. Osbuild cannot be reliably run in parallel, so the code uses a mutex to ensure there's always only one osbuild instance for now. Even with this limitation, there's a significant speed-up of the tests: Prior this commit, the image tests run in 40 minutes on Travis. After this commit, the time is reduced to 32 minutes. The speed-up will have an even bigger effect when more cloud-upload tests are added to the test suite. |
||
|---|---|---|
| .. | ||
| aws.go | ||
| constants-travis.go | ||
| constants.go | ||
| context-managers.go | ||
| helpers.go | ||
| main_test.go | ||
| netns.go | ||