mirror of https://github.com/zulip/zulip.git
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:
parent
05c190a97c
commit
cd4f35abdf
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue