vatlab / sos

SoS workflow system for daily data analysis
http://vatlab.github.io/sos-docs
BSD 3-Clause "New" or "Revised" License
274 stars 45 forks source link

tests hang due to clean up issues #1538

Closed BoPeng closed 9 months ago

BoPeng commented 9 months ago

Right now the test suite fails at random tests because previous tests fail to cleanup cleanly. It is currently unclear what has caused the issue but we need to make sure execute_workflow cleanup cleanly before we develop any new features.

Edit: https://github.com/astropy/pytest-openfiles could help, but option -W error::ResourceWarning could be good enough.

BoPeng commented 9 months ago

Switched to a more sophisticated test method that run tests individuals if continuous running times out.