mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-02 11:15:50 +08:00
This includes build/txt-to-toml.py which did the rewrites, and can be used to rewrite other no-in-tree test spec files to toml. I didn't touch status or restarting tests yet. Restarting will be handled later. It turns out that I don't understand how status tests work.
59 lines
1.2 KiB
TOML
59 lines
1.2 KiB
TOML
[[test]]
|
|
testTitle = 'ApiCorrectnessTest'
|
|
clearAfterTest = true
|
|
timeout = 2100
|
|
runSetup = true
|
|
|
|
[[test.workload]]
|
|
testName = 'ApiCorrectness'
|
|
numKeys = 2000
|
|
onlyLowerCase = true
|
|
shortKeysRatio = 0.5
|
|
minShortKeyLength = 1
|
|
maxShortKeyLength = 3
|
|
minLongKeyLength = 1
|
|
maxLongKeyLength = 128
|
|
minValueLength = 1
|
|
maxValueLength = 1000
|
|
numGets = 400
|
|
numGetRanges = 40
|
|
numGetRangeSelectors = 40
|
|
numGetKeys = 40
|
|
numClears = 40
|
|
numClearRanges = 10
|
|
maxTransactionBytes = 500000
|
|
randomTestDuration = 60
|
|
|
|
[[test.workload]]
|
|
testName = 'RandomClogging'
|
|
testDuration = 120.0
|
|
swizzle = 1
|
|
|
|
[[test.workload]]
|
|
testName = 'Rollback'
|
|
testDuration = 120.0
|
|
meanDelay = 10.0
|
|
|
|
[[test.workload]]
|
|
testName = 'Attrition'
|
|
testDuration = 120.0
|
|
|
|
[[test.workload]]
|
|
testName = 'Attrition'
|
|
machinesToKill = 10
|
|
machinesToLeave = 3
|
|
reboot = true
|
|
testDuration = 120.0
|
|
|
|
[[test.workload]]
|
|
testName = 'Attrition'
|
|
machinesToKill = 10
|
|
machinesToLeave = 3
|
|
reboot = true
|
|
testDuration = 120.0
|
|
|
|
[[test.workload]]
|
|
testName = 'ChangeConfig'
|
|
maxDelayBeforeChange = 120.0
|
|
coordinators = 'auto'
|