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 c7cf693177f007b5d63ebaf529223c2acaf75593..743d1168ed1dfdba5d20a4902e36de7e1b37ff0c 100644 --- a/python/paddle/fluid/tests/unittests/dygraph_to_static/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/dygraph_to_static/CMakeLists.txt @@ -3,6 +3,7 @@ string(REPLACE ".py" "" TEST_OPS "${TEST_OPS}") # disable for cuda11 list(REMOVE_ITEM TEST_OPS test_mnist) +list(REMOVE_ITEM TEST_OPS test_resnet) foreach(TEST_OP ${TEST_OPS}) py_test_modules(${TEST_OP} MODULES ${TEST_OP}) @@ -24,8 +25,8 @@ set_tests_properties(test_bmn PROPERTIES TIMEOUT 120) if(NOT WIN32) set_tests_properties(test_resnet_v2 PROPERTIES TIMEOUT 120) - set_tests_properties(test_resnet PROPERTIES TIMEOUT 120) -endif() -if(WIN32) - set_tests_properties(test_resnet PROPERTIES TIMEOUT 300) + #set_tests_properties(test_resnet PROPERTIES TIMEOUT 120) endif() +#if(WIN32) +# set_tests_properties(test_resnet PROPERTIES TIMEOUT 300) +#endif() diff --git a/python/paddle/tests/CMakeLists.txt b/python/paddle/tests/CMakeLists.txt index b9d05261f1ce02726a6d56d46295cb5d737e6af3..6b2bce79988890bcc34d11c4deff76d3c2d196e7 100644 --- a/python/paddle/tests/CMakeLists.txt +++ b/python/paddle/tests/CMakeLists.txt @@ -41,7 +41,7 @@ foreach(src ${DIST_TEST_OPS}) endforeach() set_tests_properties(test_dataset_cifar PROPERTIES TIMEOUT 120) set_tests_properties(test_pretrained_model PROPERTIES TIMEOUT 120) -set_tests_properties(test_model PROPERTIES TIMEOUT 120) +set_tests_properties(test_model PROPERTIES TIMEOUT 300) set_tests_properties(test_dataset_movielens PROPERTIES TIMEOUT 120) set_tests_properties(test_datasets PROPERTIES TIMEOUT 120) set_tests_properties(test_dataset_wmt PROPERTIES TIMEOUT 120)