Skip to content

Commit 821ca37

Browse files
committed
Fixed tests
1 parent 87771cf commit 821ca37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_smart_dispatch.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ def setUp(self):
2323
self.nb_commands = len(self.commands)
2424

2525
scripts_path = abspath(pjoin(os.path.dirname(__file__), os.pardir, "scripts"))
26-
self.smart_dispatch_command = '{} -C 1 -q test -t 5:00 -x'.format(pjoin(scripts_path, 'smart-dispatch'))
26+
self.smart_dispatch_command = '{} -C 1 -M 1 -q test -t 5:00 -x'.format(pjoin(scripts_path, 'smart-dispatch'))
2727
self.launch_command = "{0} launch {1}".format(self.smart_dispatch_command, self.folded_commands)
2828
self.resume_command = "{0} resume {{0}}".format(self.smart_dispatch_command)
2929

30-
smart_dispatch_command_with_pool = '{} --pool 10 -C 1 -q test -t 5:00 -x {{0}}'.format(pjoin(scripts_path, 'smart-dispatch'))
30+
smart_dispatch_command_with_pool = '{} --pool 10 -C 1 -M 1 -q test -t 5:00 -x {{0}}'.format(pjoin(scripts_path, 'smart-dispatch'))
3131
self.launch_command_with_pool = smart_dispatch_command_with_pool.format('launch ' + self.folded_commands)
3232
self.nb_workers = 10
3333

34-
smart_dispatch_command_with_cores = '{} -C 1 -c {{cores}} -q test -t 5:00 -x {{0}}'.format(pjoin(scripts_path, 'smart-dispatch'))
34+
smart_dispatch_command_with_cores = '{} -C 1 -M 1 -c {{cores}} -q test -t 5:00 -x {{0}}'.format(pjoin(scripts_path, 'smart-dispatch'))
3535
self.launch_command_with_cores = smart_dispatch_command_with_cores.format('launch ' + self.folded_commands, cores='{cores}')
3636

3737
self._cwd = os.getcwd()

0 commit comments

Comments
 (0)