From aa7649a7b6ecb1f849124213b7a910af46032a60 Mon Sep 17 00:00:00 2001 From: Stefan Marr Date: Wed, 26 Jul 2023 21:20:49 +0100 Subject: [PATCH] Disable parallel execution of benchmarks in the unit test --- rebench/tests/executor_test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rebench/tests/executor_test.py b/rebench/tests/executor_test.py index 7d82ae60..00514e4d 100644 --- a/rebench/tests/executor_test.py +++ b/rebench/tests/executor_test.py @@ -66,6 +66,11 @@ def _remove_executors_with_missing_binary(self, scheduler): self.assertEqual(yaml['executors']['TestRunner1']['executable'], 'test-vm1.py %(cores)s') yaml['executors']['TestRunner1']['executable'] = 'does_not_exist' + # the test.conf has some extra compilcations that we don't want + # by setting this to true, we avoid running things in parallel on multiple threads + yaml['executors']['TestRunner1']['execute_exclusively'] = True + yaml['executors']['TestRunner2']['execute_exclusively'] = True + cnf = Configurator(yaml, DataStore(self.ui), self.ui, exp_name='Test', data_file=self._tmp_file)