TST: harden flaky VTK flight animation tests (#1078) - #1127
TST: harden flaky VTK flight animation tests (#1078)#1127thatrandomasiandev wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1127 +/- ##
===========================================
+ Coverage 82.18% 82.51% +0.33%
===========================================
Files 122 128 +6
Lines 16355 16617 +262
===========================================
+ Hits 13441 13712 +271
+ Misses 2914 2905 -9 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Thanks for picking this up, @thatrandomasiandev — and sorry for the outcome, this one is timing rather than the work itself. Closing as not needed: the crash #1078 describes is already fixed on
@thc1006, who reported it, confirmed on 2026-08-08 that macOS 3.14 has been green since, on a leg that had been crashing all week. Two things in the diff also argue against merging it as it stands. The The That said, the marker itself is a genuine improvement and stands on its own merits. I checked the assumption behind it:
Framed as CI maintenance, not as a fix for #1078. Thanks again for the time you put into it. |
Summary
flaky_vtkand register the marker inpyproject.toml/tests/conftest.py.-m "not flaky_vtk"/-m flaky_vtkinstead of hard-coded--deselectpaths; bump native-crash retries from 3 to 5.test_flight_animation_export_gifonly onOSErrorwhen off-screen rendering is unavailable; assertion failures still fail the test.developalready isolates these tests from the main integration job and retries SIGBUS/SIGSEGV (135/138/139). This PR makes that flake explicit via a marker and a slightly safer export path.Fixes #1078
Test plan
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 pytest tests/integration/test_plots.py -m flaky_vtk --collect-onlycollects exactly the three animation tests-m "not flaky_vtk"deselects those three and keeps the compare testsPytestmatrix: integration step skipsflaky_vtk; VTK step retries up to 5 times on 135/138/139