From ca5a6deb9dc7f54d020a3bfe3ddec66181b420f9 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Fri, 16 Sep 2022 18:08:58 +0200 Subject: [PATCH] Fix timeout in wait_job_end() --- ci-scripts/cls_cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-scripts/cls_cluster.py b/ci-scripts/cls_cluster.py index bdc6e5fd3f..9e416d8f6a 100644 --- a/ci-scripts/cls_cluster.py +++ b/ci-scripts/cls_cluster.py @@ -134,7 +134,7 @@ class Cluster: while timeout_sec > 0: # check status for j in jobs: - sshSession.command(f'oc get pods | grep {j}', '\$', 5, silent = True) + sshSession.command(f'oc get pods | grep {j}', '\$', 10, silent = True) if sshSession.getBefore().count('Completed') > 0: jobs.remove(j) if sshSession.getBefore().count('Error') > 0: logging.error(f'error for job {j}: ' + sshSession.getBefore())