microsoft/openvmm

Public

mirrored fromhttps://github.com/microsoft/openvmmAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
cdc88fdd52a35aeb10bf4de61e6c18c3cc4b288c

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.config/nextest.toml

49lines · modecode

1# Copyright (c) Microsoft Corporation.
2# Licensed under the MIT License.
3
4[[profile.default.overrides]]
5filter = '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.
9threads-required = 2
10
11[[profile.default.overrides]]
12# use fuzzy-matching for the package() to allow out-of-tree tests to use the
13# same profile
14filter = 'package(~vmm_tests) and test(openhcl)'
15# Mark OpenHCL VMM tests as extra heavy, as they have to also simulate VTL2.
16threads-required = 4
17
18[[profile.default.overrides]]
19# use fuzzy-matching for the package() to allow out-of-tree tests to use the
20# same profile
21filter = 'package(~vmm_tests) and test(heavy)'
22# Mark heavy tests as extra heavy, as they include up to 16 vps.
23threads-required = 16
24
25# Profile for CI runs.
26[profile.ci]
27# Set the default timeout to 1 second, with tests terminated after 5 seconds
28slow-timeout = { period = "1s", terminate-after = 5 }
29# Print out output for failing tests at the end of the run.
30failure-output = "final"
31# Do not cancel the test run on the first failure.
32fail-fast = false
33
34[profile.ci.junit]
35path = "junit.xml"
36store-success-output = "true"
37
38[[profile.ci.overrides]]
39# allow loom based tests more time, as they take a while
40filter = 'test(loom)'
41slow-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
46filter = 'package(~vmm_tests)'
47# VMM tests contain their own watchdog timer, but keep an extra long timer
48# here as a backup.
49slow-timeout = { period = "10m", terminate-after = 1 }
50