-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
20 lines (20 loc) · 1.09 KB
/
Copy pathpytest.ini
File metadata and controls
20 lines (20 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[pytest]
# Test-run convention (Windows reliability):
# full suite -> pytest tests/ -m "not ml"
# ML/torch tests -> pytest tests/ -m ml (run in isolation)
# The `ml` files load torch/sentence-transformers/Qdrant paths that randomly
# SIGSEGV (exit 139, "Windows fatal exception: access violation") or hang
# inside real-model loads when mixed into the full run on this platform.
markers =
postgres: tests that require a reachable Postgres DSN
soak: long-running chaos soak harness (tests/soak/chaos_soak.py); run explicitly, never in the default suite
unit: fast, offline unit tests (no I/O, no subprocess, no DB)
calibration: dev-box threshold calibration harness; skipped unless MEMORYMASTER_CALIBRATE=1
ml: embeddings/vector tests touching torch/sentence-transformers/Qdrant; run isolated via -m ml
addopts = -p no:cacheprovider
testpaths = tests
norecursedirs = artifacts .pytest_cache .tmp_pytest
# pytest-timeout: safety net so a hung real-model load can never freeze a run
# forever. thread method (signal is unavailable on Windows).
timeout = 600
timeout_method = thread