Skip to content

Commit

Permalink
In run_test.py actually return worker_count
Browse files Browse the repository at this point in the history
Fixes a small mistake that was missed in the refactor of run_test.py
that was done in #6816.

(cherry picked from commit 7e7c1bb)
  • Loading branch information
JelteF authored and naisila committed Apr 5, 2023
1 parent c172292 commit 4967610
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/regress/citus_tests/run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__":
Expand Down

0 comments on commit 4967610

Please sign in to comment.