From c4d22c845b951438e7e84311c9e6eefa49c8f526 Mon Sep 17 00:00:00 2001 From: YUNSHEN XIE <1084314248@qq.com> Date: Mon, 16 Nov 2020 14:29:12 +0800 Subject: [PATCH] modified timeout value for some ut (#28616) --- python/paddle/fluid/tests/book/CMakeLists.txt | 1 + python/paddle/fluid/tests/unittests/CMakeLists.txt | 10 +++++++++- python/paddle/fluid/tests/unittests/rnn/CMakeLists.txt | 6 ++++-- python/paddle/tests/CMakeLists.txt | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/python/paddle/fluid/tests/book/CMakeLists.txt b/python/paddle/fluid/tests/book/CMakeLists.txt index e78ba297bf..2c816a12bd 100644 --- a/python/paddle/fluid/tests/book/CMakeLists.txt +++ b/python/paddle/fluid/tests/book/CMakeLists.txt @@ -12,3 +12,4 @@ set_tests_properties(test_image_classification PROPERTIES TIMEOUT 120) set_tests_properties(test_label_semantic_roles PROPERTIES TIMEOUT 120) set_tests_properties(test_machine_translation PROPERTIES TIMEOUT 120) set_tests_properties(test_rnn_encoder_decoder PROPERTIES TIMEOUT 120) +set_tests_properties(test_fit_a_line PROPERTIES TIMEOUT 120) diff --git a/python/paddle/fluid/tests/unittests/CMakeLists.txt b/python/paddle/fluid/tests/unittests/CMakeLists.txt index 6fcc8b9691..6e78f7d901 100644 --- a/python/paddle/fluid/tests/unittests/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/CMakeLists.txt @@ -648,7 +648,7 @@ set_tests_properties(test_activation_nn_grad PROPERTIES TIMEOUT 120) set_tests_properties(test_empty_op PROPERTIES TIMEOUT 120) set_tests_properties(test_parallel_executor_transformer PROPERTIES TIMEOUT 120) set_tests_properties(test_elementwise_div_op PROPERTIES TIMEOUT 120) -set_tests_properties(test_regularizer_api PROPERTIES TIMEOUT 120) +set_tests_properties(test_regularizer_api PROPERTIES TIMEOUT 150) set_tests_properties(test_multiclass_nms_op PROPERTIES TIMEOUT 120) set_tests_properties(test_ir_memory_optimize_nlp PROPERTIES TIMEOUT 120) set_tests_properties(test_add_reader_dependency PROPERTIES TIMEOUT 120) @@ -754,6 +754,13 @@ set_tests_properties(test_imperative_resnet_sorted_gradient PROPERTIES TIMEOUT 2 set_tests_properties(test_imperative_se_resnext PROPERTIES TIMEOUT 200) set_tests_properties(test_matmul_v2_op PROPERTIES TIMEOUT 120) set_tests_properties(test_slice_op PROPERTIES TIMEOUT 120) +set_tests_properties(test_strided_slice_op PROPERTIES TIMEOUT 120) +set_tests_properties(test_translated_layer PROPERTIES TIMEOUT 120) +set_tests_properties(test_parallel_executor_inference_feed_partial_data PROPERTIES TIMEOUT 120) +set_tests_properties(test_pad3d_op PROPERTIES TIMEOUT 120) +set_tests_properties(test_dataloader_keep_order PROPERTIES TIMEOUT 120) +set_tests_properties(test_mean_op PROPERTIES TIMEOUT 120) +set_tests_properties(test_dataloader_unkeep_order PROPERTIES TIMEOUT 120) if(WITH_COVERAGE) set_tests_properties(test_parallel_dygraph_sparse_embedding PROPERTIES TIMEOUT 120) set_tests_properties(test_parallel_dygraph_transformer PROPERTIES TIMEOUT 120) @@ -776,5 +783,6 @@ endif() if(WITH_GPU) set_tests_properties(test_imperative_auto_mixed_precision PROPERTIES TIMEOUT 120) set_tests_properties(test_parallel_dygraph_sync_batch_norm PROPERTIES TIMEOUT 120) + set_tests_properties(test_rank_attention_op PROPERTIES TIMEOUT 120) endif() set_tests_properties(test_inplace_addto_strategy PROPERTIES TIMEOUT 120) diff --git a/python/paddle/fluid/tests/unittests/rnn/CMakeLists.txt b/python/paddle/fluid/tests/unittests/rnn/CMakeLists.txt index 0606594c8c..ffc78d3334 100644 --- a/python/paddle/fluid/tests/unittests/rnn/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/rnn/CMakeLists.txt @@ -4,5 +4,7 @@ string(REPLACE ".py" "" TEST_OPS "${TEST_OPS}") foreach(TEST_OP ${TEST_OPS}) py_test_modules(${TEST_OP} MODULES ${TEST_OP}) endforeach(TEST_OP) -set_tests_properties(test_rnn_nets_static PROPERTIES TIMEOUT 120) -set_tests_properties(test_rnn_nets PROPERTIES TIMEOUT 120) +if(NOT WIN32) + set_tests_properties(test_rnn_nets_static PROPERTIES TIMEOUT 120) + set_tests_properties(test_rnn_nets PROPERTIES TIMEOUT 120) +endif() diff --git a/python/paddle/tests/CMakeLists.txt b/python/paddle/tests/CMakeLists.txt index 50466be0c1..b9d05261f1 100644 --- a/python/paddle/tests/CMakeLists.txt +++ b/python/paddle/tests/CMakeLists.txt @@ -47,6 +47,6 @@ set_tests_properties(test_datasets PROPERTIES TIMEOUT 120) set_tests_properties(test_dataset_wmt PROPERTIES TIMEOUT 120) set_tests_properties(test_vision_models PROPERTIES TIMEOUT 120) set_tests_properties(test_dataset_uci_housing PROPERTIES TIMEOUT 120) -set_tests_properties(test_dataset_imdb PROPERTIES TIMEOUT 120) +set_tests_properties(test_dataset_imdb PROPERTIES TIMEOUT 150) set_tests_properties(test_callbacks PROPERTIES TIMEOUT 120) set_tests_properties(test_pretrained_model PROPERTIES TIMEOUT 600) -- GitLab