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.
34 lines
816 B
TOML
34 lines
816 B
TOML
[[test]]
|
|
testTitle = 'ApiCorrectnessTest'
|
|
clearAfterTest = false
|
|
simBackupAgents = 'BackupToFile'
|
|
timeout = 2100
|
|
runSetup = true
|
|
|
|
[[test.workload]]
|
|
testName = 'ApiCorrectness'
|
|
numKeys = 5000
|
|
onlyLowerCase = true
|
|
shortKeysRatio = 0.5
|
|
minShortKeyLength = 1
|
|
maxShortKeyLength = 3
|
|
minLongKeyLength = 1
|
|
maxLongKeyLength = 128
|
|
minValueLength = 1
|
|
maxValueLength = 1000
|
|
numGets = 1000
|
|
numGetRanges = 100
|
|
numGetRangeSelectors = 100
|
|
numGetKeys = 100
|
|
numClears = 100
|
|
numClearRanges = 10
|
|
maxTransactionBytes = 500000
|
|
randomTestDuration = 60
|
|
|
|
[[test.workload]]
|
|
testName = 'AtomicRestore'
|
|
startAfter = 10.0
|
|
restoreAfter = 50.0
|
|
# This test file uses old restore, which does not work on new backup format
|
|
usePartitionedLogs = false
|