We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c6ad69 commit 5b5dc2eCopy full SHA for 5b5dc2e
tests/clickhouse-test
@@ -2949,7 +2949,7 @@ def do_run_tests(
2949
# TODO: add shuffle for sequential tests
2950
random.shuffle(test_suite.parallel_tests)
2951
2952
- batch_size = len(test_suite.parallel_tests) // jobs
+ batch_size = math.ceil(len(test_suite.parallel_tests) / jobs)
2953
manager = multiprocessing.Manager()
2954
parallel_tests = manager.list()
2955
parallel_tests.extend(test_suite.parallel_tests)
@@ -3010,6 +3010,7 @@ def do_run_tests(
3010
for p in processes[:]:
3011
if not p.is_alive():
3012
processes.remove(p)
3013
+
3014
if test_suite.sequential_tests:
3015
run_tests_array(
3016
(
0 commit comments