mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-07 08:27:12 +00:00
simplify nextest config
This commit is contained in:
parent
08f340fc8f
commit
112f80487c
1 changed files with 1 additions and 57 deletions
|
|
@ -1,62 +1,6 @@
|
|||
[profile.default]
|
||||
# Unit tests: flag SLOW after 2s, hard-kill after 4s
|
||||
slow-timeout = { period = "2s", terminate-after = 2 }
|
||||
|
||||
# Test binary sizes range from 1-84 MB. Without concurrency limits the I/O
|
||||
# from loading many large binaries simultaneously saturates the system and
|
||||
# pushes trivial tests past the SLOW / kill thresholds. Test groups cap
|
||||
# concurrency for heavy and medium binaries while letting lightweight ones
|
||||
# run at full parallelism.
|
||||
[test-groups]
|
||||
heavy = { max-threads = 2 } # 40-84 MB binaries
|
||||
medium = { max-threads = 4 } # 18-30 MB binaries
|
||||
|
||||
[[profile.default.overrides]]
|
||||
filter = """
|
||||
package(fabro-server)
|
||||
| package(fabro-workflow)
|
||||
| package(fabro-agent)
|
||||
| package(fabro-cli)
|
||||
"""
|
||||
test-group = 'heavy'
|
||||
|
||||
[[profile.default.overrides]]
|
||||
filter = """
|
||||
package(fabro-hooks)
|
||||
| package(fabro-llm)
|
||||
| package(fabro-openai-oauth)
|
||||
| package(fabro-tracker)
|
||||
| package(fabro-telemetry)
|
||||
| package(fabro-store)
|
||||
| package(fabro-github)
|
||||
| package(fabro-devcontainer)
|
||||
| package(fabro-sandbox)
|
||||
"""
|
||||
test-group = 'medium'
|
||||
|
||||
[[profile.default.overrides]]
|
||||
filter = "package(fabro-hooks)"
|
||||
slow-timeout = { period = "5s", terminate-after = 3 }
|
||||
|
||||
[[profile.default.overrides]]
|
||||
filter = "package(fabro-agent)"
|
||||
slow-timeout = { period = "5s", terminate-after = 3 }
|
||||
|
||||
[[profile.default.overrides]]
|
||||
filter = "package(fabro-cli)"
|
||||
slow-timeout = { period = "5s", terminate-after = 3 }
|
||||
|
||||
[[profile.default.overrides]]
|
||||
filter = "package(fabro-llm)"
|
||||
slow-timeout = { period = "5s", terminate-after = 3 }
|
||||
|
||||
[[profile.default.overrides]]
|
||||
filter = "package(fabro-server)"
|
||||
slow-timeout = { period = "5s", terminate-after = 3 }
|
||||
|
||||
[[profile.default.overrides]]
|
||||
filter = "package(fabro-tracker)"
|
||||
slow-timeout = { period = "5s", terminate-after = 3 }
|
||||
slow-timeout = { period = "3s", terminate-after = 2 }
|
||||
|
||||
[profile.e2e]
|
||||
# E2E (ignored) tests: flag SLOW after 10s, hard-kill after 30s
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue