Skip to content

Commit a721f85

Browse files
authored
Merge pull request #6586 from oliver-sanders/6531.cylc-8
pbs: update connection failed error message
2 parents 749b8ce + 4a6d36b commit a721f85

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

changes.d/6586.fix.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Update PBS job runner to reflect error message change. This change
2+
continues to support older PBS versions.

cylc/flow/job_runner_handlers/pbs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class PBSHandler:
8181
# N.B. The "qstat JOB_ID" command returns 1 if JOB_ID is no longer in the
8282
# system, so there is no need to filter its output.
8383
POLL_CMD = "qstat"
84-
POLL_CANT_CONNECT_ERR = "Connection refused"
84+
POLL_CANT_CONNECT_ERR = "cannot connect to server"
8585
REC_ID_FROM_SUBMIT_OUT = re.compile(r"^\s*(?P<id>\d+)", re.M)
8686
SUBMIT_CMD_TMPL = "qsub '%(job)s'"
8787
TIME_LIMIT_DIRECTIVE = "-l walltime"

0 commit comments

Comments
 (0)