未验证 提交 c4d22c84 编写于 作者: Y YUNSHEN XIE 提交者: GitHub

modified timeout value for some ut (#28616)

上级 f7dd889c
...@@ -12,3 +12,4 @@ set_tests_properties(test_image_classification PROPERTIES TIMEOUT 120) ...@@ -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_label_semantic_roles PROPERTIES TIMEOUT 120)
set_tests_properties(test_machine_translation 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_rnn_encoder_decoder PROPERTIES TIMEOUT 120)
set_tests_properties(test_fit_a_line PROPERTIES TIMEOUT 120)
...@@ -648,7 +648,7 @@ set_tests_properties(test_activation_nn_grad PROPERTIES TIMEOUT 120) ...@@ -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_empty_op PROPERTIES TIMEOUT 120)
set_tests_properties(test_parallel_executor_transformer 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_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_multiclass_nms_op PROPERTIES TIMEOUT 120)
set_tests_properties(test_ir_memory_optimize_nlp PROPERTIES TIMEOUT 120) set_tests_properties(test_ir_memory_optimize_nlp PROPERTIES TIMEOUT 120)
set_tests_properties(test_add_reader_dependency 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 ...@@ -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_imperative_se_resnext PROPERTIES TIMEOUT 200)
set_tests_properties(test_matmul_v2_op PROPERTIES TIMEOUT 120) set_tests_properties(test_matmul_v2_op PROPERTIES TIMEOUT 120)
set_tests_properties(test_slice_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) if(WITH_COVERAGE)
set_tests_properties(test_parallel_dygraph_sparse_embedding PROPERTIES TIMEOUT 120) set_tests_properties(test_parallel_dygraph_sparse_embedding PROPERTIES TIMEOUT 120)
set_tests_properties(test_parallel_dygraph_transformer PROPERTIES TIMEOUT 120) set_tests_properties(test_parallel_dygraph_transformer PROPERTIES TIMEOUT 120)
...@@ -776,5 +783,6 @@ endif() ...@@ -776,5 +783,6 @@ endif()
if(WITH_GPU) if(WITH_GPU)
set_tests_properties(test_imperative_auto_mixed_precision PROPERTIES TIMEOUT 120) 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_parallel_dygraph_sync_batch_norm PROPERTIES TIMEOUT 120)
set_tests_properties(test_rank_attention_op PROPERTIES TIMEOUT 120)
endif() endif()
set_tests_properties(test_inplace_addto_strategy PROPERTIES TIMEOUT 120) set_tests_properties(test_inplace_addto_strategy PROPERTIES TIMEOUT 120)
...@@ -4,5 +4,7 @@ string(REPLACE ".py" "" TEST_OPS "${TEST_OPS}") ...@@ -4,5 +4,7 @@ string(REPLACE ".py" "" TEST_OPS "${TEST_OPS}")
foreach(TEST_OP ${TEST_OPS}) foreach(TEST_OP ${TEST_OPS})
py_test_modules(${TEST_OP} MODULES ${TEST_OP}) py_test_modules(${TEST_OP} MODULES ${TEST_OP})
endforeach(TEST_OP) endforeach(TEST_OP)
set_tests_properties(test_rnn_nets_static PROPERTIES TIMEOUT 120) if(NOT WIN32)
set_tests_properties(test_rnn_nets PROPERTIES TIMEOUT 120) set_tests_properties(test_rnn_nets_static PROPERTIES TIMEOUT 120)
set_tests_properties(test_rnn_nets PROPERTIES TIMEOUT 120)
endif()
...@@ -47,6 +47,6 @@ set_tests_properties(test_datasets PROPERTIES TIMEOUT 120) ...@@ -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_dataset_wmt PROPERTIES TIMEOUT 120)
set_tests_properties(test_vision_models 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_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_callbacks PROPERTIES TIMEOUT 120)
set_tests_properties(test_pretrained_model PROPERTIES TIMEOUT 600) set_tests_properties(test_pretrained_model PROPERTIES TIMEOUT 600)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册