debian-forge-composer/cmd/osbuild-image-tests
Ondřej Budai e890e03d68 tests/image: run the tests in parallel (somewhat)
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.
2020-04-24 08:41:31 +02:00
..
aws.go tests/image/ami: test ami images on AWS 2020-04-06 16:38:28 +02:00
constants-travis.go tests/image: refactor constants 2020-04-06 16:38:28 +02:00
constants.go tests/image: refactor constants 2020-04-06 16:38:28 +02:00
context-managers.go 🐎 Allow qemu to use all available CPUs 2020-04-17 17:10:56 +02:00
helpers.go tests/image/ami: test ami images on AWS 2020-04-06 16:38:28 +02:00
main_test.go tests/image: run the tests in parallel (somewhat) 2020-04-24 08:41:31 +02:00
netns.go osbuild-image-tests: add missing build constraints 2020-03-22 13:50:28 +01:00