Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 16 additions & 14 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@
# https://nexte.st/docs/configuration/per-test-overrides/#override-precedence
# https://nexte.st/docs/configuration/?h=hierar#hierarchical-configuration

[[profile.ci.overrides]]
# use fuzzy-matching for the package() to allow out-of-tree tests to use the
# same profile
filter = 'package(~vmm_tests)'
# VMM tests contain their own watchdog timer, but keep an extra long timer
# here as a backup.
slow-timeout = { period = "10m", terminate-after = 2 }
Comment thread
tjones60 marked this conversation as resolved.

[[profile.default.overrides]]
filter = 'package(~vmm_tests) and test(very_heavy)'
# Extra heavy tests have even more VPs. Internal runners fail when 32vp tests
Expand All @@ -46,6 +54,13 @@ filter = 'package(~vmm_tests)'
# For local dev runs, you may need to manually restrict the number of
# threads running via the -j cli arg.
threads-required = 2
# Use the same slow timeout as ci, but never terminate
slow-timeout = { period = "10m" }

[[profile.ci.overrides]]
# allow loom based tests more time, as they take a while
filter = 'test(loom)'
slow-timeout = { period = "30s", terminate-after = 2 }

# Profile for AI agent runs. Minimizes output noise: only prints slow, failing,
# and flaky tests. Agents should use: cargo nextest run -p <pkg> --profile agent
Expand All @@ -72,17 +87,4 @@ fail-fast = false

[profile.ci.junit]
path = "junit.xml"
store-success-output = "true"

[[profile.ci.overrides]]
# allow loom based tests more time, as they take a while
filter = 'test(loom)'
slow-timeout = { period = "30s", terminate-after = 2 }

[[profile.ci.overrides]]
# use fuzzy-matching for the package() to allow out-of-tree tests to use the
# same profile
filter = 'package(~vmm_tests)'
# VMM tests contain their own watchdog timer, but keep an extra long timer
# here as a backup.
slow-timeout = { period = "10m", terminate-after = 2 }
store-success-output = "true"
4 changes: 4 additions & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2131,6 +2131,9 @@ dependencies = [
"flowey_lib_common",
"flowey_lib_hvlite",
"log",
"petri_artifacts_common",
"petri_artifacts_core",
"petri_artifacts_vmm_test",
"serde",
"serde_json",
"target-lexicon",
Expand Down Expand Up @@ -6055,6 +6058,7 @@ version = "0.0.0"
dependencies = [
"anyhow",
"paste",
"serde",
]

[[package]]
Expand Down
3 changes: 3 additions & 0 deletions flowey/flowey_hvlite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ flowey_lib_common.workspace = true
flowey_lib_hvlite.workspace = true
flowey.workspace = true

petri_artifacts_common.workspace = true
petri_artifacts_core.workspace = true
petri_artifacts_vmm_test.workspace = true
vmm_test_images = { workspace = true, features = ["serde", "clap"] }

anyhow.workspace = true
Expand Down
Loading
Loading