mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-23 07:20:33 +08:00
Split ConfigIncrement workload
Adds a new ConfigIncrement workload that tests the ability of the configuration database to remain correct under minority node data loss situations.
This commit is contained in:
parent
e8354d82bd
commit
85da80a9ce
@ -184,6 +184,7 @@ if(WITH_PYTHON)
|
|||||||
add_fdb_test(TEST_FILES rare/ClogUnclog.toml)
|
add_fdb_test(TEST_FILES rare/ClogUnclog.toml)
|
||||||
add_fdb_test(TEST_FILES rare/CloggedCycleWithKills.toml)
|
add_fdb_test(TEST_FILES rare/CloggedCycleWithKills.toml)
|
||||||
add_fdb_test(TEST_FILES rare/ConfigIncrement.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/ConflictRangeCheck.toml)
|
||||||
add_fdb_test(TEST_FILES rare/ConflictRangeRYOWCheck.toml)
|
add_fdb_test(TEST_FILES rare/ConflictRangeRYOWCheck.toml)
|
||||||
add_fdb_test(TEST_FILES rare/CycleRollbackClogged.toml)
|
add_fdb_test(TEST_FILES rare/CycleRollbackClogged.toml)
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
[configuration]
|
[configuration]
|
||||||
configDB = 'paxos'
|
configDB = 'random'
|
||||||
coordinators = 3
|
|
||||||
|
|
||||||
[[test]]
|
[[test]]
|
||||||
testTitle = 'ConfigIncrement'
|
testTitle = 'ConfigIncrement'
|
||||||
@ -14,3 +13,7 @@ testTitle = 'ConfigIncrement'
|
|||||||
|
|
||||||
[[test.workload]]
|
[[test.workload]]
|
||||||
testName = 'Attrition'
|
testName = 'Attrition'
|
||||||
|
machinesToKill = 10
|
||||||
|
machinesToLeave = 3
|
||||||
|
reboot = true
|
||||||
|
testDuration = 10.0
|
||||||
|
16
tests/rare/ConfigIncrementWithKills.toml
Normal file
16
tests/rare/ConfigIncrementWithKills.toml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
[configuration]
|
||||||
|
configDB = 'paxos'
|
||||||
|
|
||||||
|
[[test]]
|
||||||
|
testTitle = 'ConfigIncrement'
|
||||||
|
|
||||||
|
[[test.workload]]
|
||||||
|
testName = 'ConfigIncrement'
|
||||||
|
incrementActors = 2
|
||||||
|
incrementsPerActor = 10
|
||||||
|
meanSleepWithinTransactions = 0.01
|
||||||
|
meanSleepBetweenTransactions = 0.1
|
||||||
|
|
||||||
|
[[test.workload]]
|
||||||
|
testName = 'Attrition'
|
||||||
|
reboot = false
|
Loading…
x
Reference in New Issue
Block a user