Skip to content

Commit 4e5ebbc

Browse files
authored
Disable task bench to restore Benchmark CI (#7327)
1 parent 9802ee3 commit 4e5ebbc

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

CMakeLists.txt

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -798,13 +798,18 @@ if(BUILD_TESTS)
798798
add_picobench(merkle_bench SRCS src/node/test/merkle_bench.cpp)
799799
add_picobench(hash_bench SRCS src/ds/test/hash_bench.cpp)
800800

801-
add_picobench(
802-
task_bench
803-
SRCS ${CMAKE_CURRENT_SOURCE_DIR}/src/tasks/test/bench/merge_bench.cpp
804-
${CMAKE_CURRENT_SOURCE_DIR}/src/tasks/test/bench/sleep_bench.cpp
805-
${CMAKE_CURRENT_SOURCE_DIR}/src/tasks/test/bench/contention_bench.cpp
806-
LINK_LIBS ccf_tasks
807-
)
801+
# In Virtual CI, this test times out about about 6 hours In SNP CI, the test
802+
# aborts after about 5 minutes with terminate called after throwing an
803+
# instance of 'std::system_error' what(): Resource temporarily unavailable
804+
# It seems to run well on similar size local VMs, so there must be some
805+
# resource specific to the CI containers. To be investigated before
806+
# re-enabling.
807+
#
808+
# add_picobench( task_bench SRCS
809+
# ${CMAKE_CURRENT_SOURCE_DIR}/src/tasks/test/bench/merge_bench.cpp
810+
# ${CMAKE_CURRENT_SOURCE_DIR}/src/tasks/test/bench/sleep_bench.cpp
811+
# ${CMAKE_CURRENT_SOURCE_DIR}/src/tasks/test/bench/contention_bench.cpp
812+
# LINK_LIBS ccf_tasks )
808813
endif()
809814

810815
if(LONG_TESTS)

0 commit comments

Comments
 (0)