From 1c65a2000184ceeda21d7cb9184402f1e7c3ca0e Mon Sep 17 00:00:00 2001 From: tangfangzhi Date: Wed, 1 Jun 2022 16:06:56 +0800 Subject: [PATCH] enh: handle run test timeout --- Jenkinsfile2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile2 b/Jenkinsfile2 index fceaa6554f..1ef6926bda 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -268,11 +268,11 @@ pipeline { hostname ''' catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { - timeout(time: 20, unit: 'MINUTES') { + timeout(time: 21, unit: 'MINUTES') { sh ''' date cd ${WKC}/tests/parallel_test - time ./run.sh -m m.json -t cases.task -l ${LOGDIR} -b ${BRANCH_NAME} + timeout 1200 time ./run.sh -m m.json -t cases.task -l ${LOGDIR} -b ${BRANCH_NAME} date hostname ''' -- GitLab