mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 16:43:57 +00:00
test-backend: Don't run tests in parallel with given test files.
It's usually slower to run in parallel with a single file.
This commit is contained in:
@@ -226,6 +226,9 @@ if __name__ == "__main__":
|
|||||||
failed_tests = get_failed_tests()
|
failed_tests = get_failed_tests()
|
||||||
if failed_tests:
|
if failed_tests:
|
||||||
args = failed_tests
|
args = failed_tests
|
||||||
|
if len(args) > 0:
|
||||||
|
# If we passed a specific set of tests, run in serial mode.
|
||||||
|
options.processes = 1
|
||||||
|
|
||||||
# to transform forward slashes '/' present in the argument into dots '.'
|
# to transform forward slashes '/' present in the argument into dots '.'
|
||||||
for suite in args:
|
for suite in args:
|
||||||
|
|||||||
Reference in New Issue
Block a user