microsoft/openvmm
Publicmirrored fromhttps://github.com/microsoft/openvmmAvailable
.config/nextest.toml
49lines · modecode
| 1 | # Copyright (c) Microsoft Corporation. |
| 2 | # Licensed under the MIT License. |
| 3 | |
| 4 | [[profile.default.overrides]] |
| 5 | filter = 'package(~vmm_tests)' |
| 6 | # Mark VMM tests as heavy and requiring more threads due to their memory and CPU |
| 7 | # usage. For local dev runs, you may need to manually restrict the number of |
| 8 | # threads running via the -j cli arg. |
| 9 | threads-required = 3 |
| 10 | |
| 11 | [[profile.default.overrides]] |
| 12 | # use fuzzy-matching for the package() to allow out-of-tree tests to use the |
| 13 | # same profile |
| 14 | filter = 'package(~vmm_tests) and test(openhcl)' |
| 15 | # Mark OpenHCL VMM tests as extra heavy, as they have to also run VTL2. |
| 16 | threads-required = 6 |
| 17 | |
| 18 | [[profile.default.overrides]] |
| 19 | # use fuzzy-matching for the package() to allow out-of-tree tests to use the |
| 20 | # same profile |
| 21 | filter = 'package(~vmm_tests) and test(heavy)' |
| 22 | # Mark heavy tests as extra heavy, as they include up to 16 vps. |
| 23 | threads-required = 24 |
| 24 | |
| 25 | # Profile for CI runs. |
| 26 | [profile.ci] |
| 27 | # Set the default timeout to 1 second, with tests terminated after 5 seconds |
| 28 | slow-timeout = { period = "1s", terminate-after = 5 } |
| 29 | # Print out output for failing tests at the end of the run. |
| 30 | failure-output = "final" |
| 31 | # Do not cancel the test run on the first failure. |
| 32 | fail-fast = false |
| 33 | |
| 34 | [profile.ci.junit] |
| 35 | path = "junit.xml" |
| 36 | store-success-output = "true" |
| 37 | |
| 38 | [[profile.ci.overrides]] |
| 39 | # allow loom based tests more time, as they take a while |
| 40 | filter = 'test(loom)' |
| 41 | slow-timeout = { period = "30s", terminate-after = 2 } |
| 42 | |
| 43 | [[profile.ci.overrides]] |
| 44 | # use fuzzy-matching for the package() to allow out-of-tree tests to use the |
| 45 | # same profile |
| 46 | filter = 'package(~vmm_tests)' |
| 47 | # VMM tests contain their own watchdog timer, but keep an extra long timer |
| 48 | # here as a backup. |
| 49 | slow-timeout = { period = "15m", terminate-after = 1 } |