Skip to content

Commit b4dec53

Browse files
Merge pull request #6587 from cylc/8.4.x-sync
🤖 Merge 8.4.x-sync into master
2 parents 4f11996 + a721f85 commit b4dec53

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)