Skip to content

Commit

Permalink
Disable parallel execution of benchmarks in the unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
smarr committed Jul 26, 2023
1 parent 8895763 commit aa7649a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rebench/tests/executor_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit aa7649a

Please sign in to comment.