From 313bed73c21159aeea5c2f3a9369ad1ef6109619 Mon Sep 17 00:00:00 2001 From: XieYunshen <1084314248@qq.com> Date: Wed, 11 Nov 2020 12:38:53 +0800 Subject: [PATCH] modified timeout value for test_resnet_v2 and test_resnet --- .../fluid/tests/unittests/dygraph_to_static/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python/paddle/fluid/tests/unittests/dygraph_to_static/CMakeLists.txt b/python/paddle/fluid/tests/unittests/dygraph_to_static/CMakeLists.txt index 56bcd6d7b5289c..b6acf5884737a1 100644 --- a/python/paddle/fluid/tests/unittests/dygraph_to_static/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/dygraph_to_static/CMakeLists.txt @@ -14,9 +14,12 @@ set_tests_properties(test_cycle_gan PROPERTIES TIMEOUT 120) set_tests_properties(test_lac PROPERTIES TIMEOUT 120) set_tests_properties(test_bert PROPERTIES TIMEOUT 120) set_tests_properties(test_basic_api_transformation PROPERTIES TIMEOUT 120) -set_tests_properties(test_resnet PROPERTIES TIMEOUT 120) set_tests_properties(test_reinforcement_learning PROPERTIES TIMEOUT 120) set_tests_properties(test_transformer PROPERTIES TIMEOUT 200) set_tests_properties(test_mnist PROPERTIES TIMEOUT 120) set_tests_properties(test_bmn PROPERTIES TIMEOUT 120) -set_tests_properties(test_resnet_v2 PROPERTIES TIMEOUT 120) + +if(NOT WIN32) + set_tests_properties(test_resnet_v2 PROPERTIES TIMEOUT 120) + set_tests_properties(test_resnet PROPERTIES TIMEOUT 120) +endif()