From 383c3cf478ccb8f6230d15dc27dd6f045c8ee024 Mon Sep 17 00:00:00 2001 From: Gerhard Lazu Date: Tue, 31 Mar 2020 11:39:22 +0100 Subject: [PATCH] Do not run tests in parallel, default MAX_CASES to 1 @michaelklishin: > Some test cases cannot be run in parallel since they rely on target > node state as a shared resource. If/when we want to improve this: @michaelklishin: > What we can do is make this configurable. Some tests can run in > parallel, e.g. all rabbitmq-diagnostics tests that do not trigger/report > alarms. But this only would be useful for interactive runs or if we > split all tests into groups and allow parallel runs for some groups. Signed-off-by: Gerhard Lazu --- deps/rabbitmq_cli/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/rabbitmq_cli/Makefile b/deps/rabbitmq_cli/Makefile index 004fc1e68a..963a8a1f81 100644 --- a/deps/rabbitmq_cli/Makefile +++ b/deps/rabbitmq_cli/Makefile @@ -10,7 +10,7 @@ DEP_EARLY_PLUGINS = rabbit_common/mk/rabbitmq-early-plugin.mk DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk VERBOSE_TEST ?= true -MAX_CASES ?= $(shell nproc) +MAX_CASES ?= 1 MIX_TEST = mix test --max-cases=$(MAX_CASES)