Skip to content

Commit 3bd8972

Browse files
author
Vasileios Karakasis
committed
Adapt RequiredConstraintCheck to new batch policies
1 parent d9e7e03 commit 3bd8972

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

cscs-checks/system/slurm/slurm.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,9 @@ def __init__(self):
9191
self.executable = 'srun'
9292
self.executable_opts = ['-A', osext.osgroup(), 'hostname']
9393
self.sanity_patterns = sn.assert_found(
94-
r'error: You have to specify, at least, what sort of node you '
95-
r'need: -C gpu for GPU enabled nodes, or -C mc for multicore '
96-
r'nodes.|ERROR: you must specify -C with one of the following: '
97-
r'mc,gpu,storage', self.stderr)
94+
r'ERROR: you must specify -C with one of the following: mc,gpu',
95+
self.stderr
96+
)
9897

9998

10099
@rfm.simple_test

0 commit comments

Comments
 (0)