Commit 899cbfff authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:4871] increase timeouts for tests that still fail because of it

git-svn-id: file:///svn/toku/tokudb@43577 c7de825b-a66e-492c-adef-691d508d4ae1
parent 9c85b70a
...@@ -109,13 +109,19 @@ if(BUILD_TESTING) ...@@ -109,13 +109,19 @@ if(BUILD_TESTING)
subblock-test-compression subblock-test-compression
is_empty is_empty
recovery-bad-last-entry recovery-bad-last-entry
brtloader-test-extractor-3a
upgrade_test_simple
) )
set_tests_properties(${long_tests} PROPERTIES TIMEOUT 3600) set_tests_properties(${long_tests} PROPERTIES TIMEOUT 3600)
## some take even longer, with valgrind ## some take even longer, with valgrind
set(extra_long_tests set(extra_long_tests
subblock-test-checksum subblock-test-checksum
)
set_tests_properties(${extra_long_tests} PROPERTIES TIMEOUT 7200)
## these take a really long time with valgrind
set(phenomenally_long_tests
benchmark-test benchmark-test
benchmark-test_256 benchmark-test_256
) )
set_tests_properties(${extra_long_tests} PROPERTIES TIMEOUT 7200) set_tests_properties(${phenomenally_long_tests} PROPERTIES TIMEOUT 14400)
endif(BUILD_TESTING) endif(BUILD_TESTING)
...@@ -433,10 +433,10 @@ if(BUILD_TESTING) ...@@ -433,10 +433,10 @@ if(BUILD_TESTING)
add_drd_test(drd_tiny_${test} $<TARGET_FILE:tiny_${test}> --num_seconds 5 --num_elements 150) add_drd_test(drd_tiny_${test} $<TARGET_FILE:tiny_${test}> --num_seconds 5 --num_elements 150)
add_custom_executable(mid ${test} ${src}) add_custom_executable(mid ${test} ${src})
add_drd_test(drd_mid_${test} ${CMAKE_CFG_INTDIR}/run_stress_test.sh $<TARGET_FILE:mid_${test}> 10000 100) add_drd_test(drd_mid_${test} ${CMAKE_CFG_INTDIR}/run_stress_test.sh $<TARGET_FILE:mid_${test}> 10000 100)
set_tests_properties(drd_mid_${test} PROPERTIES TIMEOUT 3600) set_tests_properties(drd_mid_${test} PROPERTIES TIMEOUT 7200)
add_custom_executable(large ${test} ${src}) add_custom_executable(large ${test} ${src})
add_drd_test(drd_large_${test} ${CMAKE_CFG_INTDIR}/run_stress_test.sh $<TARGET_FILE:large_${test}> 150000 1000) add_drd_test(drd_large_${test} ${CMAKE_CFG_INTDIR}/run_stress_test.sh $<TARGET_FILE:large_${test}> 150000 1000)
set_tests_properties(drd_large_${test} PROPERTIES TIMEOUT 7200) set_tests_properties(drd_large_${test} PROPERTIES TIMEOUT 14400)
endforeach(src) endforeach(src)
## for some reason this rule doesn't run with the makefile and it crashes with this rule, so I'm disabling this special case ## for some reason this rule doesn't run with the makefile and it crashes with this rule, so I'm disabling this special case
...@@ -611,7 +611,6 @@ if(BUILD_TESTING) ...@@ -611,7 +611,6 @@ if(BUILD_TESTING)
test_txn_nested5.tdb test_txn_nested5.tdb
recovery_fileops_stress.tdb recovery_fileops_stress.tdb
recovery_fileops_unit.tdb recovery_fileops_unit.tdb
hotindexer-with-queries.tdb
) )
if (BDB_FOUND) if (BDB_FOUND)
list(APPEND long_tests list(APPEND long_tests
...@@ -627,13 +626,18 @@ if(BUILD_TESTING) ...@@ -627,13 +626,18 @@ if(BUILD_TESTING)
set_tests_properties(${long_tests} PROPERTIES TIMEOUT 3600) set_tests_properties(${long_tests} PROPERTIES TIMEOUT 3600)
## some take even longer, with valgrind ## some take even longer, with valgrind
set(extra_long_tests set(extra_long_tests
checkpoint_stress.tdb
recover_stress.tdb
drd_test_4015.tdb drd_test_4015.tdb
test3039.tdb test3039.tdb
loader-dup-test0.tdb loader-dup-test0.tdb
loader-stress-del.p.loader loader-stress-del.p.loader
loader-stress-del.nop.loader loader-stress-del.nop.loader
hotindexer-with-queries.tdb
) )
set_tests_properties(${extra_long_tests} PROPERTIES TIMEOUT 7200) set_tests_properties(${extra_long_tests} PROPERTIES TIMEOUT 7200)
## these really take a long time with valgrind
set(phenomenally_long_tests
checkpoint_stress.tdb
recover_stress.tdb
)
set_tests_properties(${phenomenally_long_tests} PROPERTIES TIMEOUT 14400)
endif(BUILD_TESTING) endif(BUILD_TESTING)
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