summaryrefslogtreecommitdiffhomepage
path: root/tests/_util.py
AgeCommit message (Collapse)Author
2023-06-02Make test for prefetch requests limit stableKlemens Schölhorn
The prefetch requests are added in a background process, so the might not be ready when the test wants to count them. Fix it by introducing a wait_for untility function that waits for a assert to pass for a specified timeout, to give the background thread the chance to start and add the prefetch requests. Also lock the prefetch lock before trying to access the extents to prevent a data race.
2023-05-18Modernize auth tests to use shared server managerJeff Forcier
Also move auth tests to be new style filename, obj naming Also allow test task module selector to see new-style test modules
2023-05-05Start consolidating test server nonsenseJeff Forcier
2023-05-05Migrate rest of main keys and update suite to be more pytest-relaxed compatJeff Forcier
Main branch as of today: 350 passed, 21 skipped, 52 deselected, 3 warnings in 11.10s This branch as of this commit: 361 passed, 21 skipped, 52 deselected, 3 warnings in 10.51s Of those 11 "new" tests, 8 are ones I wrote (tests/pkey.py). Hard to figure out what the other 3 are given pytest-relaxed's output is very different from regular verbose pytest. oops.