mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: Dynamically assign IPs for Windows integration tests
Relying on dnsmasq running on the host, the Windows guest are now getting allocated with the expected IP addresses. This allows for multiple VMs, therefore multiple tests to run in parallel. The end goal is to reduce the time spent running Windows integration tests. Fixes #1891 Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
@@ -44,7 +44,7 @@ export RUST_BACKTRACE=1
|
||||
|
||||
# Only run with 1 thread to avoid tests interfering with one another because
|
||||
# Windows has a static IP configured
|
||||
time cargo test $features_test "tests::windows::$test_filter" -- --test-threads=1
|
||||
time cargo test $features_test "tests::windows::$test_filter"
|
||||
RES=$?
|
||||
|
||||
dmsetup remove_all -f
|
||||
|
||||
Reference in New Issue
Block a user