You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(core): wait for ryuk more reliably, improve tests: long_running, filter logs (#984)
This was originally only to fix#983 but I
took the time to fix some other stuff that made reading and running the
tests less optimal.
- Fix test_ryuk flakiness: replace fixed sleep with polling helper
(_wait_for_container_removed) that waits for Ryuk to finish reaping
- Suppress expected error logs in test_compose_volumes and
test_wait_strategies to reduce test noise
- Add __test__ = False to TestcontainersConfiguration to prevent pytest
from trying to collect it as a test class
- Add `long_running` pytest marker to pyproject.toml
- Mark DinD/DooD tests as long_running since they build Docker images
and take x4 than all the other tests combined
- Add `quick-core-tests` Makefile target to run core tests excluding
long_running tests for faster feedback loops
---------
Co-authored-by: David Ankin <daveankin@gmail.com>
0 commit comments