未验证 提交 fbb54046 编写于 作者: C chengduo 提交者: GitHub

fix test_parallel_executor_seresnex timeout (#15812)

test=develop
上级 9656852c
......@@ -113,13 +113,12 @@ py_test_modules(test_ir_memory_optimize_transformer MODULES test_ir_memory_optim
endif()
if(NOT APPLE)
py_test_modules(test_image_classification_resnet MODULES test_image_classification_resnet SERIAL)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
endif()
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
# change the timeout from 600 to 1200, because in debug mode, this test need more time.
set_tests_properties(test_image_classification_resnet PROPERTIES TIMEOUT 1200)
endif()
set_tests_properties(test_parallel_executor_seresnext PROPERTIES TIMEOUT 1200)
endif()
if (WITH_NGRAPH)
add_subdirectory(ngraph)
endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册