mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Each Windows integration test boots a full Windows Server guest using several vCPUs and gigabytes of RAM. nextest runs up to one test per logical CPU by default, so the whole suite started at once and thrashed the host. Add a dedicated 'windows' nextest profile that inherits from integration and assigns the tests to a 'windows' test group capped at four concurrent runs. Point the Windows test scripts at the profile and drop the redundant retries flag, which now comes from the profile. Running the tests in parallel is safe because every guest gets a unique network via next_guest_id, so there is no shared address to conflict over. Assisted-by: Claude:Opus-4.8 Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
51 lines
1.4 KiB
TOML
51 lines
1.4 KiB
TOML
[profile.default]
|
|
# Don't let one individual test run for more than 10 minutes
|
|
slow-timeout = { period = "60s", terminate-after = 10 }
|
|
|
|
[test-groups]
|
|
windows = { max-threads = 4 }
|
|
|
|
[profile.integration]
|
|
fail-fast = false
|
|
retries = 3
|
|
|
|
[profile.common_tests]
|
|
inherits = "integration"
|
|
default-filter = 'test(common_parallel::) | test(common_sequential::) | test(aarch64_acpi::)'
|
|
junit.path = "/root/workloads/junit/common.xml"
|
|
|
|
[[profile.common_tests.overrides]]
|
|
filter = 'test(common_sequential::)'
|
|
# use up all the available test threads for each of the sequential tests
|
|
# i.e. no other test can be running while a sequential test is running.
|
|
threads-required = 'num-test-threads'
|
|
|
|
[profile.dbus]
|
|
inherits = "integration"
|
|
default-filter = 'test(dbus_api::)'
|
|
junit.path = "/root/workloads/junit/dbus.xml"
|
|
|
|
[profile.fw_cfg]
|
|
inherits = "integration"
|
|
default-filter = 'test(fw_cfg::)'
|
|
junit.path = "/root/workloads/junit/fw_cfg.xml"
|
|
|
|
[profile.ivshmem]
|
|
inherits = "integration"
|
|
default-filter = 'test(ivshmem::)'
|
|
junit.path = "/root/workloads/junit/ivshmem.xml"
|
|
|
|
[profile.common_cvm]
|
|
inherits = "integration"
|
|
default-filter = 'test(common_cvm::)'
|
|
junit.path = "/root/workloads/junit/cvm.xml"
|
|
|
|
[profile.windows]
|
|
inherits = "integration"
|
|
default-filter = 'test(windows::)'
|
|
junit.path = "/root/workloads/junit/windows.xml"
|
|
|
|
[[profile.windows.overrides]]
|
|
filter = 'test(windows::)'
|
|
test-group = 'windows'
|