tests/functional: Allow asset downloading with concurrent threads
authorThomas Huth <thuth@redhat.com>
Fri, 30 Aug 2024 13:38:10 +0000 (15:38 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 4 Sep 2024 08:52:29 +0000 (10:52 +0200)
commit34b17c0a6564833ae8eb9846ec9faedb212d80ac
tree6ee96d1ea80b9dea97ce6586c07b79d11749ee8e
parentf57213f85b49f2271d2a9bba354a160de326eeb9
tests/functional: Allow asset downloading with concurrent threads

When running "make -j$(nproc) check-functional", tests that use the
same asset might be running in parallel. Improve the downloading to
detect this situation and wait for the other thread to finish the
download.

Message-ID: <20240830133841.142644-17-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/functional/qemu_test/asset.py