We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88402b7 commit 22d9042Copy full SHA for 22d9042
src/pytest_split/plugin.py
@@ -87,6 +87,8 @@ def pytest_sessionfinish(session, exitstatus):
87
if hasattr(test_report, "duration"):
88
stage = getattr(test_report, "when", "")
89
duration = test_report.duration
90
+ if duration < 0:
91
+ continue
92
if (
93
stage == "teardown"
94
and duration > STORE_DURATIONS_TEARDOWN_THRESHOLD
0 commit comments