Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: optimize resource distribution #3108

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
tests: fix that resource heavy tests might be skipped
darwintree committed Mar 13, 2025
commit b139bec39b0059b6b289b17942331a6b34d97b15
3 changes: 2 additions & 1 deletion tests/test_all.py
Original file line number Diff line number Diff line change
@@ -170,7 +170,8 @@ def run_single_round(options):
script = TEST_SCRIPTS[test_idx]
test_idx += 1
else:
break # No more tasks to submit
time.sleep(0.5)
continue # Wait for pending tasks to complete

# Wait until number of pending tasks drops below threshold
while len(pending_tasks) >= options.max_workers * 2: