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:
parent
aa76c9db2e
commit
0a00df2e7e
3 changed files with 77 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue