Commit 3dde22c3 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5351 just change the size that test_stress0 runs with


git-svn-id: file:///svn/toku/tokudb@50134 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5269c347
...@@ -461,7 +461,9 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS) ...@@ -461,7 +461,9 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
get_filename_component(base ${src} NAME_WE) get_filename_component(base ${src} NAME_WE)
set(test ${base}.tdb) set(test ${base}.tdb)
add_test(ydb/${test} ${CMAKE_CFG_INTDIR}/run_stress_test.sh $<TARGET_FILE:${test}> 150000 1000 600) if (NOT ${src} MATCHES test_stress0)
add_test(ydb/${test} ${CMAKE_CFG_INTDIR}/run_stress_test.sh $<TARGET_FILE:${test}> 150000 1000 600)
endif ()
add_custom_executable(tiny ${test} ${base}) add_custom_executable(tiny ${test} ${base})
add_drd_test(ydb/drd_tiny_${test} $<TARGET_FILE:tiny_${test}> --num_seconds 5 --num_elements 150 --join_timeout 1200) add_drd_test(ydb/drd_tiny_${test} $<TARGET_FILE:tiny_${test}> --num_seconds 5 --num_elements 150 --join_timeout 1200)
...@@ -474,6 +476,9 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS) ...@@ -474,6 +476,9 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
endif() endif()
endforeach(src) endforeach(src)
# Run test_stress0 with a special size
add_test(ydb/test_stress0.tdb ${CMAKE_CFG_INTDIR}/run_stress_test.sh $<TARGET_FILE:${test}> 512 1000 600)
# Set up upgrade tests. Exclude test_stress_openclose # Set up upgrade tests. Exclude test_stress_openclose
configure_file(run_upgrade_stress_test.sh . COPYONLY) configure_file(run_upgrade_stress_test.sh . COPYONLY)
foreach(src ${stress_test_srcs}) foreach(src ${stress_test_srcs})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment