Add test for turning off version vector feature

This commit is contained in:
Jingyu Zhou 2022-03-30 11:59:20 -07:00 committed by Sreenath Bodagala
parent 1531875425
commit 8a8b4d0f0c
3 changed files with 82 additions and 0 deletions

View File

@ -276,6 +276,9 @@ if(WITH_PYTHON)
add_fdb_test(
TEST_FILES restarting/from_7.1.0/ConfigureStorageMigrationTestRestart-1.toml
restarting/from_7.1.0/ConfigureStorageMigrationTestRestart-2.toml)
add_fdb_test(
TEST_FILES restarting/from_7.1.0/VersionVectorDisableRestart-1.toml
restarting/from_7.1.0/VersionVectorDisableRestart-2.toml)
add_fdb_test(TEST_FILES slow/ApiCorrectness.toml)

View File

@ -0,0 +1,42 @@
[[knobs]]
enable_version_vector = true
enable_version_vector_tlog_unicast = true
[[test]]
testTitle='VersionVectorDowngrade'
clearAfterTest=false
[[test.workload]]
testName='Cycle'
transactionsPerSecond=500.0
nodeCount=2500
testDuration=10.0
expectedRate=0
[[test.workload]]
testName='RandomClogging'
testDuration=10.0
[[test.workload]]
testName='Rollback'
meanDelay=10.0
testDuration=10.0
[[test.workload]]
testName='Attrition'
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
[[test.workload]]
testName='Attrition'
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
[[test.workload]]
testName='SaveAndKill'
restartInfoLocation='simfdb/restartInfo.ini'
testDuration=10.0

View File

@ -0,0 +1,37 @@
[[knobs]]
enable_version_vector = false
enable_version_vector_tlog_unicast = false
[[test]]
testTitle='VersionVectorDowngrade'
runSetup=false
[[test.workload]]
testName='Cycle'
transactionsPerSecond=2500.0
nodeCount=2500
testDuration=10.0
expectedRate=0
[[test.workload]]
testName='RandomClogging'
testDuration=10.0
[[test.workload]]
testName='Rollback'
meanDelay=10.0
testDuration=10.0
[[test.workload]]
testName='Attrition'
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
[[test.workload]]
testName='Attrition'
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0