Commit cdb7a03
test(extractor): clear active_connections before health data test
Fix test failure caused by residual state from parallel test execution.
The test_get_health_data test was failing intermittently because the
global active_connections dictionary retained entries from other tests
running in parallel (pytest-xdist), causing the health status to be
"extracting" instead of "healthy".
Solution: Clear active_connections.clear() before checking health data
to ensure clean test isolation.
Fixes: tests/extractor/test_extractor.py::TestHealthMonitoring::test_get_health_data
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent d4ce181 commit cdb7a03
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
| 946 | + | |
946 | 947 | | |
947 | 948 | | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
948 | 952 | | |
949 | 953 | | |
950 | 954 | | |
| |||
0 commit comments