Add workload to test coordinator changes with dynamic knobs

This commit is contained in:
Lukas Joswiak 2022-09-12 22:58:00 -07:00
parent 424bb87f3e
commit 9fd22546ea
4 changed files with 33 additions and 5 deletions

View File

@ -139,6 +139,9 @@ if(WITH_PYTHON)
add_fdb_test(TEST_FILES fast/CloggedSideband.toml)
add_fdb_test(TEST_FILES fast/CompressionUtilsUnit.toml)
add_fdb_test(TEST_FILES fast/ConfigureLocked.toml)
add_fdb_test(TEST_FILES fast/ConfigIncrement.toml)
add_fdb_test(TEST_FILES fast/ConfigIncrementChangeCoordinators.toml)
add_fdb_test(TEST_FILES fast/ConfigIncrementWithKills.toml)
add_fdb_test(TEST_FILES fast/ConstrainedRandomSelector.toml)
add_fdb_test(TEST_FILES fast/CycleAndLock.toml)
add_fdb_test(TEST_FILES fast/CycleTest.toml)
@ -211,8 +214,6 @@ if(WITH_PYTHON)
add_fdb_test(TEST_FILES rare/ClogUnclog.toml)
add_fdb_test(TEST_FILES rare/CloggedCycleWithKills.toml)
add_fdb_test(TEST_FILES rare/ConfigDBUnitTest.toml)
add_fdb_test(TEST_FILES rare/ConfigIncrement.toml)
add_fdb_test(TEST_FILES rare/ConfigIncrementWithKills.toml)
add_fdb_test(TEST_FILES rare/ConflictRangeCheck.toml)
add_fdb_test(TEST_FILES rare/ConflictRangeRYOWCheck.toml)
add_fdb_test(TEST_FILES rare/CycleRollbackClogged.toml)

View File

@ -9,7 +9,7 @@ testTitle = 'ConfigIncrement'
incrementActors = 2
incrementsPerActor = 10
meanSleepWithinTransactions = 0.01
meanSleepBetweenTransactions = 10
meanSleepBetweenTransactions = 0.1
[[test.workload]]
testName = 'Attrition'
@ -22,4 +22,3 @@ testTitle = 'ConfigIncrement'
testName = 'ChangeConfig'
maxDelayBeforeChange = 120.0
coordinators = 'auto'
coordinatorChanges = 2

View File

@ -0,0 +1,28 @@
# Similar to the ConfigIncrement workload, but with a larger amount of time
# between transactions to allow a coordinator change to take place in between
# transactions.
[configuration]
configDB = 'paxos'
[[test]]
testTitle = 'ConfigIncrementChangeCoordinators'
[[test.workload]]
testName = 'ConfigIncrement'
incrementActors = 2
incrementsPerActor = 10
meanSleepWithinTransactions = 0.01
meanSleepBetweenTransactions = 10
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 10.0
[[test.workload]]
testName = 'ChangeConfig'
maxDelayBeforeChange = 120.0
coordinators = 'auto'
coordinatorChanges = 2

View File

@ -2,7 +2,7 @@
configDB = 'paxos'
[[test]]
testTitle = 'ConfigIncrement'
testTitle = 'ConfigIncrementWithKills'
[[test.workload]]
testName = 'ConfigIncrement'