From e1a5fc449d6acccfd186309d54aa61fa216aa0da Mon Sep 17 00:00:00 2001 From: YUNSHEN XIE <1084314248@qq.com> Date: Mon, 9 Nov 2020 21:02:10 +0800 Subject: [PATCH] fix ut exec timeout notest,test=kunlun (#28495) * fix ut exec timeout notest,test=kunlun * fix error for executing ut timeout,test=document_fix --- python/paddle/fluid/tests/unittests/xpu/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/paddle/fluid/tests/unittests/xpu/CMakeLists.txt b/python/paddle/fluid/tests/unittests/xpu/CMakeLists.txt index 6ac4b93bf6d..eda4c989c5f 100644 --- a/python/paddle/fluid/tests/unittests/xpu/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/xpu/CMakeLists.txt @@ -7,3 +7,6 @@ list(REMOVE_ITEM TEST_OPS test_mean_op_xpu) foreach(TEST_OP ${TEST_OPS}) py_test_modules(${TEST_OP} MODULES ${TEST_OP}) endforeach(TEST_OP) + +set_tests_properties(test_mul_op_xpu PROPERTIES TIMEOUT 120) +set_tests_properties(test_conv2d_op_xpu PROPERTIES TIMEOUT 120) -- GitLab