From fe4deac973cbe704402c94be6a7e6fc236d968ee Mon Sep 17 00:00:00 2001 From: zhangchunle Date: Fri, 10 Sep 2021 19:04:47 +0800 Subject: [PATCH] test=document_fix (#35654) --- paddle/scripts/paddle_build.sh | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index feafca26cd3..a3f98ea511d 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -1342,8 +1342,8 @@ set +x retry_unittests_record='' retry_time=4 exec_time_array=('first' 'second' 'third' 'fourth') - parallel_failed_tests_exec_retry_threshold=80 - exec_retry_threshold=10 + parallel_failed_tests_exec_retry_threshold=120 + exec_retry_threshold=30 is_retry_execuate=0 rerun_ut_startTime_s=`date +%s` if [ -n "$failed_test_lists" ];then @@ -1443,6 +1443,9 @@ set +x one_card_retry='' multiple_card_retry='' exclusive_retry='' + + else + break fi done fi @@ -1786,8 +1789,8 @@ set +x retry_unittests_record='' retry_time=4 exec_time_array=('first' 'second' 'third' 'fourth') - parallel_failed_tests_exec_retry_threshold=80 - exec_retry_threshold=10 + parallel_failed_tests_exec_retry_threshold=120 + exec_retry_threshold=30 is_retry_execuate=0 rerun_ut_startTime_s=`date +%s` if [ -n "$failed_test_lists" ];then @@ -1855,7 +1858,10 @@ set +x collect_failed_tests rm -f $tmp_dir/* one_card_retry='' - fi + else + break + fi + done fi -- GitLab