diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 648cef86bc..398ceff279 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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) diff --git a/tests/restarting/from_7.1.0/VersionVectorDisableRestart-1.toml b/tests/restarting/from_7.1.0/VersionVectorDisableRestart-1.toml new file mode 100644 index 0000000000..170b596af2 --- /dev/null +++ b/tests/restarting/from_7.1.0/VersionVectorDisableRestart-1.toml @@ -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 diff --git a/tests/restarting/from_7.1.0/VersionVectorDisableRestart-2.toml b/tests/restarting/from_7.1.0/VersionVectorDisableRestart-2.toml new file mode 100644 index 0000000000..b294aa3978 --- /dev/null +++ b/tests/restarting/from_7.1.0/VersionVectorDisableRestart-2.toml @@ -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