2020-07-13 05:41:12 +08:00
|
|
|
[[test]]
|
|
|
|
testTitle = 'ApiCorrectnessTest'
|
|
|
|
clearAfterTest = false
|
|
|
|
simBackupAgents = 'BackupToFile'
|
|
|
|
#timeout is in seconds
|
|
|
|
timeout = 360000
|
|
|
|
runSetup = true
|
2022-09-17 06:55:54 +08:00
|
|
|
# tenants are not supported with parallel restore
|
|
|
|
allowDefaultTenant = false
|
2020-07-13 05:41:12 +08:00
|
|
|
|
|
|
|
[[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
|
2020-09-01 12:18:49 +08:00
|
|
|
resetDBTimeout = 7200
|
2020-07-13 05:41:12 +08:00
|
|
|
|
|
|
|
[[test.workload]]
|
|
|
|
testName = 'AtomicRestore'
|
|
|
|
startAfter = 10.0
|
|
|
|
restoreAfter = 50.0
|
|
|
|
fastRestore = true
|
|
|
|
usePartitionedLogs = false
|
|
|
|
# Each testName=RunRestoreWorkerWorkload creates a restore worker
|
|
|
|
# We need at least 3 restore workers: master, loader, and applier
|
|
|
|
|
|
|
|
[[test.workload]]
|
|
|
|
testName = 'RunRestoreWorkerWorkload'
|