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
2 changes: 1 addition & 1 deletion reframe/core/schedulers/slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def _check_and_cancel(self, reason_descr):
# Here we handle the case were the UnavailableNodes list is empty,
# which actually means that the job is pending
if reason == 'ReqNodeNotAvail' and reason_details:
if re.match(r'UnavailableNodes:$', reason_details):
if re.match(r'UnavailableNodes:$', reason_details.strip()):
return

self.cancel()
Expand Down