In run_test.py actually return worker_count (#6830)

Fixes a small mistake that was missed in the refactor of run_test.py
that was done in #6816.
pull/6824/head
Jelte Fennema 2023-04-05 15:38:57 +02:00 committed by GitHub
parent eda3cc418a
commit d04d32b314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -354,6 +354,7 @@ def needed_worker_count(test_name, dependencies):
worker_count = worker_count_for(test_name)
for dependency in dependencies.extra_tests():
worker_count = max(worker_count_for(dependency), worker_count)
return worker_count
if __name__ == "__main__":