Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cscs-checks/system/slurm/slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def __init__(self):
super().__init__()
self.valid_systems = ['daint:gpu', 'dom:gpu']
self.executable = 'scontrol show job ${SLURM_JOB_ID}'
self.sanity_patterns = sn.assert_found(r'.*Gres=.*gpu:1.*',
self.stdout)
self.sanity_patterns = sn.assert_found(
r'.*(TresPerNode|Gres)=.*gpu:1.*', self.stdout)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was about to comment this. This behaviour changed on Slurm 18.08.



@rfm.simple_test
Expand Down