Rewrite most .txt tests into (pretty) .toml files.

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.
This commit is contained in:
Alex Miller 2020-07-12 14:41:12 -07:00
parent 0131f0dc48
commit 2841efe938
203 changed files with 3065 additions and 2439 deletions

63
build/txt-to-toml.py Executable file
View File

@ -0,0 +1,63 @@
#!/usr/bin/env python
import sys
def main():
if len(sys.argv) != 2:
print('Usage: txt-to-toml.py [src.txt]')
return 1
filename = sys.argv[1]
indent = ' '
in_workload = False
first_test = False
keys_before_test = False
for line in open(filename):
k = ''
v = ''
if line.strip().startswith(';'):
print( (indent if in_workload else '') + line.strip().replace(';', '#') )
continue
if '=' in line:
(k, v) = line.strip().split('=')
(k, v) = (k.strip(), v.strip())
if k == 'testTitle':
first_test = True
if in_workload:
print('')
in_workload = False
if keys_before_test:
print('')
keys_before_test = False
print('[[test]]')
if k == 'testName':
in_workload = True
print('')
print(indent + '[[test.workload]]')
if not first_test:
keys_before_test = True
if v.startswith('.'):
v = '0' + v
if any(c.isalpha() or c in ['/', '!'] for c in v):
if v != 'true' and v != 'false':
v = "'" + v + "'"
if k == 'buggify':
print('buggify = ' + ('true' if v == "'on'" else 'false'))
elif k:
print( (indent if in_workload else '') + k + ' = ' + v)
return 0
if __name__ == '__main__':
sys.exit(main())

View File

@ -16,6 +16,8 @@ function(configure_testing)
set(no_tests YES)
if(CONFIGURE_TESTING_ERROR_ON_ADDITIONAL_FILES)
file(GLOB_RECURSE candidates "${CONFIGURE_TESTING_TEST_DIRECTORY}/*.txt")
file(GLOB_RECURSE toml_candidates "${CONFIGURE_TESTING_TEST_DIRECTORY}/*.toml")
list(APPEND candidates ${toml_candidates})
foreach(candidate IN LISTS candidates)
set(candidate_is_test YES)
foreach(pattern IN LISTS CONFIGURE_TESTING_IGNORE_PATTERNS)

View File

@ -67,7 +67,6 @@ if(WITH_PYTHON)
add_fdb_test(TEST_FILES ReadAbsent.txt IGNORE)
add_fdb_test(TEST_FILES ReadAfterWrite.txt IGNORE)
add_fdb_test(TEST_FILES ReadHalfAbsent.txt IGNORE)
add_fdb_test(TEST_FILES fast/ReadHotDetectionCorrectness.txt)
add_fdb_test(TEST_FILES RedwoodCorrectnessUnits.txt IGNORE)
add_fdb_test(TEST_FILES RedwoodCorrectnessBTree.txt IGNORE)
add_fdb_test(TEST_FILES RedwoodCorrectnessPager.txt IGNORE)
@ -105,65 +104,66 @@ if(WITH_PYTHON)
add_fdb_test(TEST_FILES randomSelector.txt IGNORE)
add_fdb_test(TEST_FILES selectorCorrectness.txt IGNORE)
add_fdb_test(TEST_FILES WriteTagThrottling.txt IGNORE)
add_fdb_test(TEST_FILES fast/AtomicBackupCorrectness.txt)
add_fdb_test(TEST_FILES fast/AtomicBackupToDBCorrectness.txt)
add_fdb_test(TEST_FILES fast/AtomicOps.txt)
add_fdb_test(TEST_FILES fast/AtomicOpsApiCorrectness.txt)
add_fdb_test(TEST_FILES fast/BackupCorrectness.txt)
add_fdb_test(TEST_FILES fast/BackupCorrectnessClean.txt)
add_fdb_test(TEST_FILES fast/BackupToDBCorrectness.txt)
add_fdb_test(TEST_FILES fast/BackupToDBCorrectnessClean.txt)
add_fdb_test(TEST_FILES fast/CacheTest.txt)
add_fdb_test(TEST_FILES fast/CloggedSideband.txt)
add_fdb_test(TEST_FILES fast/ConfigureLocked.txt)
add_fdb_test(TEST_FILES fast/ConstrainedRandomSelector.txt)
add_fdb_test(TEST_FILES fast/CycleAndLock.txt)
add_fdb_test(TEST_FILES fast/CycleTest.txt)
add_fdb_test(TEST_FILES fast/FuzzApiCorrectness.txt)
add_fdb_test(TEST_FILES fast/FuzzApiCorrectnessClean.txt)
add_fdb_test(TEST_FILES fast/IncrementTest.txt)
add_fdb_test(TEST_FILES fast/InventoryTestAlmostReadOnly.txt)
add_fdb_test(TEST_FILES fast/InventoryTestSomeWrites.txt)
add_fdb_test(TEST_FILES fast/KillRegionCycle.txt)
add_fdb_test(TEST_FILES fast/LocalRatekeeper.txt)
add_fdb_test(TEST_FILES fast/LongStackWriteDuringRead.txt)
add_fdb_test(TEST_FILES fast/LowLatency.txt)
add_fdb_test(TEST_FILES fast/MemoryLifetime.txt)
add_fdb_test(TEST_FILES fast/MoveKeysCycle.txt)
add_fdb_test(TEST_FILES fast/RandomSelector.txt)
add_fdb_test(TEST_FILES fast/RandomUnitTests.txt)
add_fdb_test(TEST_FILES fast/ReportConflictingKeys.txt)
add_fdb_test(TEST_FILES fast/SelectorCorrectness.txt)
add_fdb_test(TEST_FILES fast/Sideband.txt)
add_fdb_test(TEST_FILES fast/SidebandWithStatus.txt)
add_fdb_test(TEST_FILES fast/SpecialKeySpaceCorrectness.txt)
add_fdb_test(TEST_FILES fast/SwizzledRollbackSideband.txt)
add_fdb_test(TEST_FILES fast/SystemRebootTestCycle.txt)
add_fdb_test(TEST_FILES fast/TaskBucketCorrectness.txt)
add_fdb_test(TEST_FILES fast/TimeKeeperCorrectness.txt)
add_fdb_test(TEST_FILES fast/TxnStateStoreCycleTest.txt)
add_fdb_test(TEST_FILES fast/Unreadable.txt)
add_fdb_test(TEST_FILES fast/VersionStamp.txt)
add_fdb_test(TEST_FILES fast/Watches.txt)
add_fdb_test(TEST_FILES fast/WriteDuringRead.txt)
add_fdb_test(TEST_FILES fast/WriteDuringReadClean.txt)
add_fdb_test(TEST_FILES rare/CheckRelocation.txt)
add_fdb_test(TEST_FILES rare/ClogUnclog.txt)
add_fdb_test(TEST_FILES rare/CloggedCycleWithKills.txt)
add_fdb_test(TEST_FILES rare/ConflictRangeCheck.txt)
add_fdb_test(TEST_FILES rare/ConflictRangeRYOWCheck.txt)
add_fdb_test(TEST_FILES rare/CycleRollbackClogged.txt)
add_fdb_test(TEST_FILES rare/CycleWithKills.txt)
add_fdb_test(TEST_FILES rare/FuzzTest.txt)
add_fdb_test(TEST_FILES rare/InventoryTestHeavyWrites.txt)
add_fdb_test(TEST_FILES rare/LargeApiCorrectness.txt)
add_fdb_test(TEST_FILES rare/LargeApiCorrectnessStatus.txt)
add_fdb_test(TEST_FILES rare/RYWDisable.txt)
add_fdb_test(TEST_FILES rare/RandomReadWriteTest.txt)
add_fdb_test(TEST_FILES rare/SwizzledLargeApiCorrectness.txt)
add_fdb_test(TEST_FILES rare/RedwoodCorrectnessBTree.txt)
add_fdb_test(TEST_FILES rare/TransactionTagApiCorrectness.txt)
add_fdb_test(TEST_FILES rare/TransactionTagSwizzledApiCorrectness.txt)
add_fdb_test(TEST_FILES fast/AtomicBackupCorrectness.toml)
add_fdb_test(TEST_FILES fast/AtomicBackupToDBCorrectness.toml)
add_fdb_test(TEST_FILES fast/AtomicOps.toml)
add_fdb_test(TEST_FILES fast/AtomicOpsApiCorrectness.toml)
add_fdb_test(TEST_FILES fast/BackupCorrectness.toml)
add_fdb_test(TEST_FILES fast/BackupCorrectnessClean.toml)
add_fdb_test(TEST_FILES fast/BackupToDBCorrectness.toml)
add_fdb_test(TEST_FILES fast/BackupToDBCorrectnessClean.toml)
add_fdb_test(TEST_FILES fast/CacheTest.toml)
add_fdb_test(TEST_FILES fast/CloggedSideband.toml)
add_fdb_test(TEST_FILES fast/ConfigureLocked.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)
add_fdb_test(TEST_FILES fast/FuzzApiCorrectness.toml)
add_fdb_test(TEST_FILES fast/FuzzApiCorrectnessClean.toml)
add_fdb_test(TEST_FILES fast/IncrementTest.toml)
add_fdb_test(TEST_FILES fast/InventoryTestAlmostReadOnly.toml)
add_fdb_test(TEST_FILES fast/InventoryTestSomeWrites.toml)
add_fdb_test(TEST_FILES fast/KillRegionCycle.toml)
add_fdb_test(TEST_FILES fast/LocalRatekeeper.toml)
add_fdb_test(TEST_FILES fast/LongStackWriteDuringRead.toml)
add_fdb_test(TEST_FILES fast/LowLatency.toml)
add_fdb_test(TEST_FILES fast/MemoryLifetime.toml)
add_fdb_test(TEST_FILES fast/MoveKeysCycle.toml)
add_fdb_test(TEST_FILES fast/RandomSelector.toml)
add_fdb_test(TEST_FILES fast/RandomUnitTests.toml)
add_fdb_test(TEST_FILES fast/ReadHotDetectionCorrectness.toml)
add_fdb_test(TEST_FILES fast/ReportConflictingKeys.toml)
add_fdb_test(TEST_FILES fast/SelectorCorrectness.toml)
add_fdb_test(TEST_FILES fast/Sideband.toml)
add_fdb_test(TEST_FILES fast/SidebandWithStatus.toml)
add_fdb_test(TEST_FILES fast/SpecialKeySpaceCorrectness.toml)
add_fdb_test(TEST_FILES fast/SwizzledRollbackSideband.toml)
add_fdb_test(TEST_FILES fast/SystemRebootTestCycle.toml)
add_fdb_test(TEST_FILES fast/TaskBucketCorrectness.toml)
add_fdb_test(TEST_FILES fast/TimeKeeperCorrectness.toml)
add_fdb_test(TEST_FILES fast/TxnStateStoreCycleTest.toml)
add_fdb_test(TEST_FILES fast/Unreadable.toml)
add_fdb_test(TEST_FILES fast/VersionStamp.toml)
add_fdb_test(TEST_FILES fast/Watches.toml)
add_fdb_test(TEST_FILES fast/WriteDuringRead.toml)
add_fdb_test(TEST_FILES fast/WriteDuringReadClean.toml)
add_fdb_test(TEST_FILES rare/CheckRelocation.toml)
add_fdb_test(TEST_FILES rare/ClogUnclog.toml)
add_fdb_test(TEST_FILES rare/CloggedCycleWithKills.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)
add_fdb_test(TEST_FILES rare/CycleWithKills.toml)
add_fdb_test(TEST_FILES rare/FuzzTest.toml)
add_fdb_test(TEST_FILES rare/InventoryTestHeavyWrites.toml)
add_fdb_test(TEST_FILES rare/LargeApiCorrectness.toml)
add_fdb_test(TEST_FILES rare/LargeApiCorrectnessStatus.toml)
add_fdb_test(TEST_FILES rare/RYWDisable.toml)
add_fdb_test(TEST_FILES rare/RandomReadWriteTest.toml)
add_fdb_test(TEST_FILES rare/SwizzledLargeApiCorrectness.toml)
add_fdb_test(TEST_FILES rare/RedwoodCorrectnessBTree.toml)
add_fdb_test(TEST_FILES rare/TransactionTagApiCorrectness.toml)
add_fdb_test(TEST_FILES rare/TransactionTagSwizzledApiCorrectness.toml)
add_fdb_test(
TEST_FILES restarting/from_7.0.0/ConfigureTestRestart-1.txt
@ -192,46 +192,46 @@ if(WITH_PYTHON)
add_fdb_test(
TEST_FILES restarting/from_5.2.0/ClientTransactionProfilingCorrectness-1.txt
restarting/from_5.2.0/ClientTransactionProfilingCorrectness-2.txt)
add_fdb_test(TEST_FILES slow/ApiCorrectness.txt)
add_fdb_test(TEST_FILES slow/ApiCorrectnessAtomicRestore.txt)
add_fdb_test(TEST_FILES slow/ApiCorrectnessSwitchover.txt)
add_fdb_test(TEST_FILES slow/ClogWithRollbacks.txt)
add_fdb_test(TEST_FILES slow/CloggedCycleTest.txt)
add_fdb_test(TEST_FILES slow/CloggedStorefront.txt)
add_fdb_test(TEST_FILES slow/CommitBug.txt)
add_fdb_test(TEST_FILES slow/ConfigureTest.txt)
add_fdb_test(TEST_FILES slow/CycleRollbackPlain.txt)
add_fdb_test(TEST_FILES slow/DDBalanceAndRemove.txt)
add_fdb_test(TEST_FILES slow/DDBalanceAndRemoveStatus.txt)
add_fdb_test(TEST_FILES slow/DifferentClustersSameRV.txt)
add_fdb_test(TEST_FILES slow/FastTriggeredWatches.txt)
add_fdb_test(TEST_FILES slow/LowLatencyWithFailures.txt)
add_fdb_test(TEST_FILES slow/MoveKeysClean.txt)
add_fdb_test(TEST_FILES slow/MoveKeysSideband.txt)
add_fdb_test(TEST_FILES slow/RyowCorrectness.txt)
add_fdb_test(TEST_FILES slow/Serializability.txt)
add_fdb_test(TEST_FILES slow/SharedBackupCorrectness.txt)
add_fdb_test(TEST_FILES slow/SharedBackupToDBCorrectness.txt)
add_fdb_test(TEST_FILES slow/StorefrontTest.txt)
add_fdb_test(TEST_FILES slow/SwizzledApiCorrectness.txt)
add_fdb_test(TEST_FILES slow/SwizzledCycleTest.txt)
add_fdb_test(TEST_FILES slow/SwizzledDdBalance.txt)
add_fdb_test(TEST_FILES slow/SwizzledRollbackTimeLapse.txt)
add_fdb_test(TEST_FILES slow/SwizzledRollbackTimeLapseIncrement.txt)
add_fdb_test(TEST_FILES slow/VersionStampBackupToDB.txt)
add_fdb_test(TEST_FILES slow/VersionStampSwitchover.txt)
add_fdb_test(TEST_FILES slow/WriteDuringReadAtomicRestore.txt)
add_fdb_test(TEST_FILES slow/WriteDuringReadSwitchover.txt)
add_fdb_test(TEST_FILES slow/ddbalance.txt)
add_fdb_test(TEST_FILES slow/ParallelRestoreNewBackupCorrectnessAtomicOp.txt)
add_fdb_test(TEST_FILES slow/ParallelRestoreNewBackupCorrectnessCycle.txt)
add_fdb_test(TEST_FILES slow/ParallelRestoreNewBackupCorrectnessMultiCycles.txt)
add_fdb_test(TEST_FILES slow/ParallelRestoreNewBackupWriteDuringReadAtomicRestore.txt)
add_fdb_test(TEST_FILES slow/ParallelRestoreOldBackupCorrectnessAtomicOp.txt)
add_fdb_test(TEST_FILES slow/ParallelRestoreOldBackupCorrectnessCycle.txt)
add_fdb_test(TEST_FILES slow/ParallelRestoreOldBackupCorrectnessMultiCycles.txt)
add_fdb_test(TEST_FILES slow/ParallelRestoreOldBackupWriteDuringReadAtomicRestore.txt)
add_fdb_test(TEST_FILES slow/ParallelRestoreOldBackupApiCorrectnessAtomicRestore.txt)
add_fdb_test(TEST_FILES slow/ApiCorrectness.toml)
add_fdb_test(TEST_FILES slow/ApiCorrectnessAtomicRestore.toml)
add_fdb_test(TEST_FILES slow/ApiCorrectnessSwitchover.toml)
add_fdb_test(TEST_FILES slow/ClogWithRollbacks.toml)
add_fdb_test(TEST_FILES slow/CloggedCycleTest.toml)
add_fdb_test(TEST_FILES slow/CloggedStorefront.toml)
add_fdb_test(TEST_FILES slow/CommitBug.toml)
add_fdb_test(TEST_FILES slow/ConfigureTest.toml)
add_fdb_test(TEST_FILES slow/CycleRollbackPlain.toml)
add_fdb_test(TEST_FILES slow/DDBalanceAndRemove.toml)
add_fdb_test(TEST_FILES slow/DDBalanceAndRemoveStatus.toml)
add_fdb_test(TEST_FILES slow/DifferentClustersSameRV.toml)
add_fdb_test(TEST_FILES slow/FastTriggeredWatches.toml)
add_fdb_test(TEST_FILES slow/LowLatencyWithFailures.toml)
add_fdb_test(TEST_FILES slow/MoveKeysClean.toml)
add_fdb_test(TEST_FILES slow/MoveKeysSideband.toml)
add_fdb_test(TEST_FILES slow/RyowCorrectness.toml)
add_fdb_test(TEST_FILES slow/Serializability.toml)
add_fdb_test(TEST_FILES slow/SharedBackupCorrectness.toml)
add_fdb_test(TEST_FILES slow/SharedBackupToDBCorrectness.toml)
add_fdb_test(TEST_FILES slow/StorefrontTest.toml)
add_fdb_test(TEST_FILES slow/SwizzledApiCorrectness.toml)
add_fdb_test(TEST_FILES slow/SwizzledCycleTest.toml)
add_fdb_test(TEST_FILES slow/SwizzledDdBalance.toml)
add_fdb_test(TEST_FILES slow/SwizzledRollbackTimeLapse.toml)
add_fdb_test(TEST_FILES slow/SwizzledRollbackTimeLapseIncrement.toml)
add_fdb_test(TEST_FILES slow/VersionStampBackupToDB.toml)
add_fdb_test(TEST_FILES slow/VersionStampSwitchover.toml)
add_fdb_test(TEST_FILES slow/WriteDuringReadAtomicRestore.toml)
add_fdb_test(TEST_FILES slow/WriteDuringReadSwitchover.toml)
add_fdb_test(TEST_FILES slow/ddbalance.toml)
add_fdb_test(TEST_FILES slow/ParallelRestoreNewBackupCorrectnessAtomicOp.toml)
add_fdb_test(TEST_FILES slow/ParallelRestoreNewBackupCorrectnessCycle.toml)
add_fdb_test(TEST_FILES slow/ParallelRestoreNewBackupCorrectnessMultiCycles.toml)
add_fdb_test(TEST_FILES slow/ParallelRestoreNewBackupWriteDuringReadAtomicRestore.toml)
add_fdb_test(TEST_FILES slow/ParallelRestoreOldBackupCorrectnessAtomicOp.toml)
add_fdb_test(TEST_FILES slow/ParallelRestoreOldBackupCorrectnessCycle.toml)
add_fdb_test(TEST_FILES slow/ParallelRestoreOldBackupCorrectnessMultiCycles.toml)
add_fdb_test(TEST_FILES slow/ParallelRestoreOldBackupWriteDuringReadAtomicRestore.toml)
add_fdb_test(TEST_FILES slow/ParallelRestoreOldBackupApiCorrectnessAtomicRestore.toml)
# Note that status tests are not deterministic.
add_fdb_test(TEST_FILES status/invalid_proc_addresses.txt)
add_fdb_test(TEST_FILES status/local_6_machine_no_replicas_remain.txt)

View File

@ -0,0 +1,39 @@
[[test]]
testTitle = 'BackupAndRestore'
clearAfterTest = false
simBackupAgents = 'BackupToFile'
[[test.workload]]
testName = 'AtomicOps'
nodeCount = 30000
transactionsPerSecond = 2500.0
testDuration = 30.0
[[test.workload]]
testName = 'BackupAndRestoreCorrectness'
backupAfter = 10.0
restoreAfter = 60.0
backupRangesCount = -1
[[test.workload]]
testName = 'RandomClogging'
testDuration = 90.0
[[test.workload]]
testName = 'Rollback'
meanDelay = 90.0
testDuration = 90.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 90.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 90.0

View File

@ -1,32 +0,0 @@
testTitle=BackupAndRestore
clearAfterTest=false
simBackupAgents=BackupToFile
testName=AtomicOps
nodeCount=30000
transactionsPerSecond=2500.0
testDuration=30.0
testName=BackupAndRestoreCorrectness
backupAfter=10.0
restoreAfter=60.0
backupRangesCount=-1
testName=RandomClogging
testDuration=90.0
testName=Rollback
meanDelay=90.0
testDuration=90.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=90.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=90.0

View File

@ -0,0 +1,41 @@
extraDB = 1
[[test]]
testTitle = 'BackupAndRestore'
clearAfterTest = false
simBackupAgents = 'BackupToDB'
[[test.workload]]
testName = 'AtomicOps'
nodeCount = 30000
transactionsPerSecond = 2500.0
testDuration = 30.0
[[test.workload]]
testName = 'BackupToDBCorrectness'
backupAfter = 10.0
restoreAfter = 60.0
backupRangesCount = -1
[[test.workload]]
testName = 'RandomClogging'
testDuration = 90.0
[[test.workload]]
testName = 'Rollback'
meanDelay = 90.0
testDuration = 90.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 90.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 90.0

View File

@ -1,34 +0,0 @@
extraDB=1
testTitle=BackupAndRestore
clearAfterTest=false
simBackupAgents=BackupToDB
testName=AtomicOps
nodeCount=30000
transactionsPerSecond=2500.0
testDuration=30.0
testName=BackupToDBCorrectness
backupAfter=10.0
restoreAfter=60.0
backupRangesCount=-1
testName=RandomClogging
testDuration=90.0
testName=Rollback
meanDelay=90.0
testDuration=90.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=90.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=90.0

38
tests/fast/AtomicOps.toml Normal file
View File

@ -0,0 +1,38 @@
[[test]]
testTitle = 'Clogged'
[[test.workload]]
testName = 'AtomicOps'
transactionsPerSecond = 2500.0
testDuration = 10.0
[[test.workload]]
testName = 'RandomClogging'
testDuration = 10.0
[[test.workload]]
testName = 'Rollback'
meanDelay = 10.0
testDuration = 10.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 10.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 10.0
[[test]]
testTitle = 'Unclogged'
[[test.workload]]
testName = 'AtomicOps'
transactionsPerSecond = 250.0
testDuration = 10.0

View File

@ -1,28 +0,0 @@
testTitle=Clogged
testName=AtomicOps
transactionsPerSecond=2500.0
testDuration=10.0
testName=RandomClogging
testDuration=10.0
testName=Rollback
meanDelay=10.0
testDuration=10.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
testTitle=Unclogged
testName=AtomicOps
transactionsPerSecond=250.0
testDuration=10.0

View File

@ -0,0 +1,5 @@
[[test]]
testTitle = 'AtomicOpsCorrectnessTest'
[[test.workload]]
testName = 'AtomicOpsApiCorrectness'

View File

@ -1,3 +0,0 @@
testTitle=AtomicOpsCorrectnessTest
testName=AtomicOpsApiCorrectness

View File

@ -0,0 +1,40 @@
[[test]]
testTitle = 'BackupAndRestore'
clearAfterTest = false
simBackupAgents = 'BackupToFile'
[[test.workload]]
testName = 'Cycle'
nodeCount = 30000
transactionsPerSecond = 2500.0
testDuration = 30.0
expectedRate = 0
[[test.workload]]
testName = 'BackupAndRestoreCorrectness'
backupAfter = 10.0
restoreAfter = 60.0
backupRangesCount = -1
[[test.workload]]
testName = 'RandomClogging'
testDuration = 90.0
[[test.workload]]
testName = 'Rollback'
meanDelay = 90.0
testDuration = 90.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 90.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 90.0

View File

@ -1,33 +0,0 @@
testTitle=BackupAndRestore
clearAfterTest=false
simBackupAgents=BackupToFile
testName=Cycle
nodeCount=30000
transactionsPerSecond=2500.0
testDuration=30.0
expectedRate=0
testName=BackupAndRestoreCorrectness
backupAfter=10.0
restoreAfter=60.0
backupRangesCount=-1
testName=RandomClogging
testDuration=90.0
testName=Rollback
meanDelay=90.0
testDuration=90.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=90.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=90.0

View File

@ -0,0 +1,61 @@
[[test]]
testTitle = 'BackupAndRestore'
clearAfterTest = false
simBackupAgents = 'BackupToFile'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 500.0
testDuration = 20.0
expectedRate = 0
keyPrefix = 'a'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 500.0
testDuration = 30.0
expectedRate = 0
keyPrefix = 'A'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 500.0
testDuration = 40.0
expectedRate = 0
keyPrefix = 'm'
[[test.workload]]
testName = 'ReadWrite'
testDuration = 30.0
transactionsPerSecond = 10
writesPerTransactionA = 10
readsPerTransactionA = 0
writesPerTransactionB = 10
readsPerTransactionB = 0
alpha = 1.0
setup = false
[[test.workload]]
testName = 'BackupAndRestoreCorrectness'
backupTag = 'backup1'
backupAfter = 10.0
restoreAfter = 60.0
performRestore = false
allowPauses = false
[[test.workload]]
testName = 'BackupAndRestoreCorrectness'
backupTag = 'backup2'
backupAfter = 15.0
restoreAfter = 60.0
performRestore = true
allowPauses = false
prefixesMandatory = 'a,A,m'
[[test.workload]]
testName = 'BackupAndRestoreCorrectness'
backupTag = 'backup3'
backupAfter = 20.0
restoreAfter = 60.0
performRestore = false
allowPauses = false

View File

@ -1,53 +0,0 @@
testTitle=BackupAndRestore
clearAfterTest=false
simBackupAgents=BackupToFile
testName=Cycle
transactionsPerSecond=500.0
testDuration=20.0
expectedRate=0
keyPrefix=a
testName=Cycle
transactionsPerSecond=500.0
testDuration=30.0
expectedRate=0
keyPrefix=A
testName=Cycle
transactionsPerSecond=500.0
testDuration=40.0
expectedRate=0
keyPrefix=m
testName=ReadWrite
testDuration=30.0
transactionsPerSecond=10
writesPerTransactionA=10
readsPerTransactionA=0
writesPerTransactionB=10
readsPerTransactionB=0
alpha=1.0
setup=false
testName=BackupAndRestoreCorrectness
backupTag=backup1
backupAfter=10.0
restoreAfter=60.0
performRestore=false
allowPauses=false
testName=BackupAndRestoreCorrectness
backupTag=backup2
backupAfter=15.0
restoreAfter=60.0
performRestore=true
allowPauses=false
prefixesMandatory=a,A,m
testName=BackupAndRestoreCorrectness
backupTag=backup3
backupAfter=20.0
restoreAfter=60.0
performRestore=false
allowPauses=false

View File

@ -0,0 +1,42 @@
extraDB = 1
[[test]]
testTitle = 'BackupAndRestore'
clearAfterTest = false
simBackupAgents = 'BackupToDB'
[[test.workload]]
testName = 'Cycle'
nodeCount = 30000
transactionsPerSecond = 2500.0
testDuration = 30.0
expectedRate = 0
[[test.workload]]
testName = 'BackupToDBCorrectness'
backupAfter = 10.0
restoreAfter = 60.0
backupRangesCount = -1
[[test.workload]]
testName = 'RandomClogging'
testDuration = 90.0
[[test.workload]]
testName = 'Rollback'
meanDelay = 90.0
testDuration = 90.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 90.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 90.0

View File

@ -1,35 +0,0 @@
extraDB=1
testTitle=BackupAndRestore
clearAfterTest=false
simBackupAgents=BackupToDB
testName=Cycle
nodeCount=30000
transactionsPerSecond=2500.0
testDuration=30.0
expectedRate=0
testName=BackupToDBCorrectness
backupAfter=10.0
restoreAfter=60.0
backupRangesCount=-1
testName=RandomClogging
testDuration=90.0
testName=Rollback
meanDelay=90.0
testDuration=90.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=90.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=90.0

View File

@ -0,0 +1,51 @@
extraDB = 1
[[test]]
testTitle = 'BackupAndRestore'
clearAfterTest = false
simBackupAgents = 'BackupToDB'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 500.0
testDuration = 20.0
expectedRate = 0
keyPrefix = 'a'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 500.0
testDuration = 30.0
expectedRate = 0
keyPrefix = 'A'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 500.0
testDuration = 40.0
expectedRate = 0
keyPrefix = 'm'
[[test.workload]]
testName = 'BackupToDBCorrectness'
backupTag = 'backup1'
backupPrefix = 'b1'
backupAfter = 10.0
restoreAfter = 60.0
performRestore = false
[[test.workload]]
testName = 'BackupToDBCorrectness'
backupTag = 'backup2'
backupPrefix = 'b2'
backupAfter = 15.0
restoreAfter = 60.0
performRestore = true
[[test.workload]]
testName = 'BackupToDBCorrectness'
backupTag = 'backup3'
backupPrefix = 'b3'
backupAfter = 20.0
restoreAfter = 60.0
performRestore = false

View File

@ -1,44 +0,0 @@
extraDB=1
testTitle=BackupAndRestore
clearAfterTest=false
simBackupAgents=BackupToDB
testName=Cycle
transactionsPerSecond=500.0
testDuration=20.0
expectedRate=0
keyPrefix=a
testName=Cycle
transactionsPerSecond=500.0
testDuration=30.0
expectedRate=0
keyPrefix=A
testName=Cycle
transactionsPerSecond=500.0
testDuration=40.0
expectedRate=0
keyPrefix=m
testName=BackupToDBCorrectness
backupTag=backup1
backupPrefix=b1
backupAfter=10.0
restoreAfter=60.0
performRestore=false
testName=BackupToDBCorrectness
backupTag=backup2
backupPrefix=b2
backupAfter=15.0
restoreAfter=60.0
performRestore=true
testName=BackupToDBCorrectness
backupTag=backup3
backupPrefix=b3
backupAfter=20.0
restoreAfter=60.0
performRestore=false

16
tests/fast/CacheTest.toml Normal file
View File

@ -0,0 +1,16 @@
[[test]]
testTitle = 'Cached'
[[test.workload]]
testName = 'Cache'
keyPrefix = 'foo/'
[[test]]
testTitle = 'Cycle'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 2500.0
testDuration = 10.0
expectedRate = 0.80
keyPrefix = 'foo/'

View File

@ -1,11 +0,0 @@
testTitle=Cached
testName=Cache
keyPrefix=foo/
testTitle=Cycle
testName=Cycle
transactionsPerSecond=2500.0
testDuration=10.0
expectedRate=0.80
keyPrefix=foo/

View File

@ -0,0 +1,31 @@
[[test]]
testTitle = 'CloggedCausalConsistencyTest'
[[test.workload]]
testName = 'Sideband'
testDuration = 30.0
operationsPerSecond = 500
[[test.workload]]
testName = 'RandomClogging'
testDuration = 30.0
[[test.workload]]
testName = 'RandomClogging'
testDuration = 30.0
scale = 0.1
clogginess = 2.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 30.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 30.0

View File

@ -1,24 +0,0 @@
testTitle=CloggedCausalConsistencyTest
testName=Sideband
testDuration=30.0
operationsPerSecond=500
testName=RandomClogging
testDuration=30.0
testName=RandomClogging
testDuration=30.0
scale=0.1
clogginess=2.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=30.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=30.0

View File

@ -0,0 +1,10 @@
configureLocked = 1
[[test]]
testTitle = 'ConfigureLocked'
runConsistencyCheck = false
clearAfterTest = false
[[test.workload]]
testName = 'LockDatabase'
onlyCheckLocked = true

View File

@ -1,8 +0,0 @@
configureLocked=1
testTitle=ConfigureLocked
runConsistencyCheck=false
clearAfterTest=false
testName=LockDatabase
onlyCheckLocked=true

View File

@ -0,0 +1,6 @@
[[test]]
testTitle = 'RYOW_test'
[[test.workload]]
testName = 'RandomSelector'
maxKeySpace = 3

View File

@ -1,3 +0,0 @@
testTitle=RYOW_test
testName=RandomSelector
maxKeySpace=3

View File

@ -0,0 +1,36 @@
[[test]]
testTitle = 'Clogged'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 2500.0
testDuration = 60.0
expectedRate = 0
[[test.workload]]
testName = 'LockDatabase'
lockAfter = 15.0
unlockAfter = 45.0
[[test.workload]]
testName = 'RandomClogging'
testDuration = 30.0
[[test.workload]]
testName = 'Rollback'
meanDelay = 30.0
testDuration = 30.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 30.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 30.0

View File

@ -1,28 +0,0 @@
testTitle=Clogged
testName=Cycle
transactionsPerSecond=2500.0
testDuration=60.0
expectedRate=0
testName=LockDatabase
lockAfter=15.0
unlockAfter=45.0
testName=RandomClogging
testDuration=30.0
testName=Rollback
meanDelay=30.0
testDuration=30.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=30.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=30.0

40
tests/fast/CycleTest.toml Normal file
View File

@ -0,0 +1,40 @@
[[test]]
testTitle = 'Clogged'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 2500.0
testDuration = 10.0
expectedRate = 0
[[test.workload]]
testName = 'RandomClogging'
testDuration = 10.0
[[test.workload]]
testName = 'Rollback'
meanDelay = 10.0
testDuration = 10.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 10.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 10.0
[[test]]
testTitle = 'Unclogged'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 250.0
testDuration = 10.0
expectedRate = 0.80

View File

@ -1,30 +0,0 @@
testTitle=Clogged
testName=Cycle
transactionsPerSecond=2500.0
testDuration=10.0
expectedRate=0
testName=RandomClogging
testDuration=10.0
testName=Rollback
meanDelay=10.0
testDuration=10.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
testTitle=Unclogged
testName=Cycle
transactionsPerSecond=250.0
testDuration=10.0
expectedRate=0.80

View File

@ -0,0 +1,31 @@
StderrSeverity = 30
[[test]]
testTitle = 'FuzzApiCorrectness'
[[test.workload]]
testName = 'FuzzApiCorrectness'
testDuration = 30.0
[[test.workload]]
testName = 'RandomClogging'
testDuration = 30.0
[[test.workload]]
testName = 'Rollback'
meanDelay = 30.0
testDuration = 30.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 30.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 30.0

View File

@ -1,24 +0,0 @@
StderrSeverity=30
testTitle=FuzzApiCorrectness
testName=FuzzApiCorrectness
testDuration=30.0
testName=RandomClogging
testDuration=30.0
testName=Rollback
meanDelay=30.0
testDuration=30.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=30.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=30.0

View File

@ -0,0 +1,8 @@
StderrSeverity = 30
[[test]]
testTitle = 'FuzzApiCorrectness'
[[test.workload]]
testName = 'FuzzApiCorrectness'
testDuration = 30.0

View File

@ -1,5 +0,0 @@
StderrSeverity=30
testTitle=FuzzApiCorrectness
testName=FuzzApiCorrectness
testDuration=30.0

View File

@ -0,0 +1,53 @@
[[test]]
testTitle = 'Clogged'
[[test.workload]]
testName = 'Increment'
transactionsPerSecond = 500.0
testDuration = 10.0
expectedRate = 0
[[test.workload]]
testName = 'RandomClogging'
testDuration = 10.0
[[test.workload]]
testName = 'Rollback'
meanDelay = 10.0
testDuration = 10.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 10.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 10.0
[[test]]
testTitle = 'Unclogged'
[[test.workload]]
testName = 'Increment'
transactionsPerSecond = 50.0
testDuration = 10.0
expectedRate = 0.80
[[test]]
testTitle = 'Moving'
[[test.workload]]
testName = 'Increment'
transactionsPerSecond = 50.0
testDuration = 10.0
expectedRate = 0.70
[[test.workload]]
testName = 'RandomMoveKeys'
testDuration = 10.0

View File

@ -1,39 +0,0 @@
testTitle=Clogged
testName=Increment
transactionsPerSecond=500.0
testDuration=10.0
expectedRate=0
testName=RandomClogging
testDuration=10.0
testName=Rollback
meanDelay=10.0
testDuration=10.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
testTitle=Unclogged
testName=Increment
transactionsPerSecond=50.0
testDuration=10.0
expectedRate=0.80
testTitle=Moving
testName=Increment
transactionsPerSecond=50.0
testDuration=10.0
expectedRate=0.70
testName=RandomMoveKeys
testDuration=10.0

View File

@ -0,0 +1,23 @@
[[test]]
testTitle = 'InventoryTestAlmostReadOnly'
[[test.workload]]
testName = 'InventoryTest'
transactionsPerSecond = 5000.0
testDuration = 10.0
fractionWriteTransactions = 0.01
actorCount = 1000
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 10.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 10.0

View File

@ -1,18 +0,0 @@
testTitle=InventoryTestAlmostReadOnly
testName=InventoryTest
transactionsPerSecond=5000.0
testDuration=10.0
fractionWriteTransactions=.01
actorCount=1000
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0

View File

@ -0,0 +1,22 @@
[[test]]
testTitle = 'InventoryTestSomeWrites'
[[test.workload]]
testName = 'InventoryTest'
transactionsPerSecond = 10000.0
testDuration = 10.0
fractionWriteTransactions = 0.1
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 10.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 10.0

View File

@ -1,17 +0,0 @@
testTitle=InventoryTestSomeWrites
testName=InventoryTest
transactionsPerSecond=10000.0
testDuration=10.0
fractionWriteTransactions=.1
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0

View File

@ -0,0 +1,16 @@
minimumRegions = 2
[[test]]
testTitle = 'KillRegionCycle'
clearAfterTest = false
[[test.workload]]
testName = 'Cycle'
nodeCount = 30000
transactionsPerSecond = 2500.0
testDuration = 30.0
expectedRate = 0
[[test.workload]]
testName = 'KillRegion'
testDuration = 30.0

View File

@ -1,13 +0,0 @@
minimumRegions=2
testTitle=KillRegionCycle
clearAfterTest=false
testName=Cycle
nodeCount=30000
transactionsPerSecond=2500.0
testDuration=30.0
expectedRate=0
testName=KillRegion
testDuration=30.0

View File

@ -0,0 +1,12 @@
[[test]]
testTitle = 'LocalRateKeeper'
[[test.workload]]
testName = 'LocalRatekeeper'
startAfter = 60.0
blockWritesFor = 80.0
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 25
testDuration = 200

View File

@ -1,8 +0,0 @@
testTitle=LocalRateKeeper
testName=LocalRatekeeper
startAfter=60.0
blockWritesFor=80.0
testName=Cycle
transactionsPerSecond=25
testDuration=200

View File

@ -0,0 +1,10 @@
StderrSeverity = 30
[[test]]
testTitle = 'WriteDuringReadTest'
[[test.workload]]
testName = 'WriteDuringRead'
numOps = 10000
rarelyCommit = true
testDuration = 30

View File

@ -1,7 +0,0 @@
StderrSeverity=30
testTitle=WriteDuringReadTest
testName=WriteDuringRead
numOps=10000
rarelyCommit=true
testDuration=30

View File

@ -0,0 +1,26 @@
buggify = false
minimumReplication = 2
[[test]]
testTitle = 'Clogged'
connectionFailuresDisableDuration = 100000
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 1000.0
testDuration = 30.0
expectedRate = 0
[[test.workload]]
testName = 'LowLatency'
testDuration = 30.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 1
machinesToLeave = 3
reboot = true
testDuration = 30.0
waitForVersion = true
allowFaultInjection = false
killDc = false

View File

@ -1,22 +0,0 @@
buggify=off
minimumReplication=2
testTitle=Clogged
connectionFailuresDisableDuration=100000
testName=Cycle
transactionsPerSecond=1000.0
testDuration=30.0
expectedRate=0
testName=LowLatency
testDuration=30.0
testName=Attrition
machinesToKill=1
machinesToLeave=3
reboot=true
testDuration=30.0
waitForVersion=true
allowFaultInjection=false
killDc=false

View File

@ -0,0 +1,5 @@
[[test]]
testTitle = 'MemoryLifetimeTest'
[[test.workload]]
testName = 'MemoryLifetime'

View File

@ -1,2 +0,0 @@
testTitle=MemoryLifetimeTest
testName=MemoryLifetime

View File

@ -0,0 +1,26 @@
[[test]]
testTitle = 'MoveKeysCycle'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 2500.0
testDuration = 10.0
expectedRate = 0.025
[[test.workload]]
testName = 'RandomMoveKeys'
testDuration = 10.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 1
machinesToLeave = 3
reboot = true
testDuration = 10.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 1
machinesToLeave = 3
reboot = true
testDuration = 10.0

View File

@ -1,20 +0,0 @@
testTitle=MoveKeysCycle
testName=Cycle
transactionsPerSecond=2500.0
testDuration=10.0
expectedRate=0.025
testName=RandomMoveKeys
testDuration=10.0
testName=Attrition
machinesToKill=1
machinesToLeave=3
reboot=true
testDuration=10.0
testName=Attrition
machinesToKill=1
machinesToLeave=3
reboot=true
testDuration=10.0

View File

@ -0,0 +1,5 @@
[[test]]
testTitle = 'RYOW_test'
[[test.workload]]
testName = 'RandomSelector'

View File

@ -1,2 +0,0 @@
testTitle=RYOW_test
testName=RandomSelector

View File

@ -0,0 +1,9 @@
[[test]]
testTitle = 'UnitTests'
useDB = false
startDelay = 0
[[test.workload]]
testName = 'UnitTests'
maxTestCases = 1
testsMatching = '/'

View File

@ -1,7 +0,0 @@
testTitle=UnitTests
useDB=false
startDelay=0
testName=UnitTests
maxTestCases=1
testsMatching=/

View File

@ -0,0 +1,6 @@
[[test]]
testTitle = 'ReadHotDetection'
[[test.workload]]
testName = 'ReadHotDetection'
transactionsPerSecond = 1000

View File

@ -1,3 +0,0 @@
testTitle=ReadHotDetection
testName=ReadHotDetection
transactionsPerSecond=1000

View File

@ -0,0 +1,14 @@
buggify = false
[[test]]
testTitle = 'ReportConflictingKeysTest'
connectionFailuresDisableDuration = 100000
[[test.workload]]
testName = 'ReportConflictingKeys'
testDuration = 20.0
nodeCount = 10000
keyPrefix = 'RCK'
keyBytes = 64
readConflictRangeCountPerTx = 10
writeConflictRangeCountPerTx = 10

View File

@ -1,12 +0,0 @@
buggify=off
testTitle=ReportConflictingKeysTest
connectionFailuresDisableDuration=100000
testName=ReportConflictingKeys
testDuration=20.0
nodeCount=10000
keyPrefix=RCK
keyBytes=64
readConflictRangeCountPerTx=10
writeConflictRangeCountPerTx=10

View File

@ -0,0 +1,5 @@
[[test]]
testTitle = 'RYOW_test'
[[test.workload]]
testName = 'SelectorCorrectness'

View File

@ -1,2 +0,0 @@
testTitle=RYOW_test
testName=SelectorCorrectness

30
tests/fast/Sideband.toml Normal file
View File

@ -0,0 +1,30 @@
[[test]]
testTitle = 'CausalConsistencyTest'
[[test.workload]]
testName = 'Sideband'
testDuration = 30.0
operationsPerSecond = 500
[[test.workload]]
testName = 'RandomClogging'
testDuration = 30.0
[[test.workload]]
testName = 'Rollback'
meanDelay = 10.0
testDuration = 30.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 30.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 30.0

View File

@ -1,23 +0,0 @@
testTitle=CausalConsistencyTest
testName=Sideband
testDuration=30.0
operationsPerSecond=500
testName=RandomClogging
testDuration=30.0
testName=Rollback
meanDelay=10.0
testDuration=30.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=30.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=30.0

View File

@ -0,0 +1,35 @@
[[test]]
testTitle = 'CloggedCausalConsistencyTest'
[[test.workload]]
testName = 'Sideband'
testDuration = 30.0
operationsPerSecond = 500
[[test.workload]]
testName = 'Status'
testDuration = 30.0
[[test.workload]]
testName = 'RandomClogging'
testDuration = 30.0
[[test.workload]]
testName = 'RandomClogging'
testDuration = 30.0
scale = 0.1
clogginess = 2.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 30.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 30.0

View File

@ -1,27 +0,0 @@
testTitle=CloggedCausalConsistencyTest
testName=Sideband
testDuration=30.0
operationsPerSecond=500
testName=Status
testDuration=30.0
testName=RandomClogging
testDuration=30.0
testName=RandomClogging
testDuration=30.0
scale=0.1
clogginess=2.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=30.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=30.0

View File

@ -0,0 +1,8 @@
[[test]]
testTitle = 'SpecialKeySpaceCorrectnessTest'
[[test.workload]]
testName = 'SpecialKeySpaceCorrectness'
testDuration = 30.0
valueBytes = 16
keyBytes = 16

View File

@ -1,5 +0,0 @@
testTitle=SpecialKeySpaceCorrectnessTest
testName=SpecialKeySpaceCorrectness
testDuration=30.0
valueBytes=16
keyBytes=16

View File

@ -0,0 +1,41 @@
[[test]]
testTitle = 'SwizzledCausalConsistencyTest'
[[test.workload]]
testName = 'Sideband'
testDuration = 300.0
[[test.workload]]
testName = 'RandomClogging'
testDuration = 300.0
swizzle = 1
[[test.workload]]
testName = 'Rollback'
testDuration = 300.0
meanDelay = 10.0
[[test.workload]]
testName = 'Attrition'
testDuration = 300.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 300.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 300.0
[[test.workload]]
testName = 'RemoveServersSafely'
minDelay = 0
maxDelay = 100
kill1Timeout = 30
kill2Timeout = 6000

View File

@ -1,32 +0,0 @@
testTitle=SwizzledCausalConsistencyTest
testName=Sideband
testDuration=300.0
testName=RandomClogging
testDuration=300.0
swizzle=1
testName=Rollback
testDuration=300.0
meanDelay=10.0
testName=Attrition
testDuration=300.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=300.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=300.0
testName=RemoveServersSafely
minDelay=0
maxDelay=100
kill1Timeout=30
kill2Timeout=6000

View File

@ -0,0 +1,41 @@
[[test]]
testTitle = 'Clogged'
clearAfterTest = false
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 250.0
testDuration = 20.0
expectedRate = 0.01
nodeCount = 50000
[[test.workload]]
testName = 'RandomClogging'
testDuration = 10.0
[[test.workload]]
testName = 'Rollback'
meanDelay = 10.0
testDuration = 10.0
[[test]]
testTitle = 'KillAllButOne'
clearAfterTest = false
[[test.workload]]
testName = 'Attrition'
machinesToKill = 100
machinesToLeave = 1
reboot = true
testDuration = 1.0
[[test]]
testTitle = 'Unclogged'
runSetup = false
[[test.workload]]
testName = 'Cycle'
nodeCount = 50000
transactionsPerSecond = 250.0
testDuration = 10.0
expectedRate = 0.70

View File

@ -1,34 +0,0 @@
testTitle=Clogged
clearAfterTest=false
testName=Cycle
transactionsPerSecond=250.0
testDuration=20.0
expectedRate=0.01
nodeCount=50000
testName=RandomClogging
testDuration=10.0
testName=Rollback
meanDelay=10.0
testDuration=10.0
testTitle=KillAllButOne
clearAfterTest=false
testName=Attrition
machinesToKill=100
machinesToLeave=1
reboot=true
testDuration=1.0
testTitle=Unclogged
runSetup=false
testName=Cycle
nodeCount=50000
transactionsPerSecond=250.0
testDuration=10.0
expectedRate=0.70

View File

@ -0,0 +1,7 @@
[[test]]
testTitle = 'TaskBucketCorrectness'
[[test.workload]]
testName = 'TaskBucketCorrectness'
chained = false
subtaskCount = 20

View File

@ -1,4 +0,0 @@
testTitle=TaskBucketCorrectness
testName=TaskBucketCorrectness
chained=false
subtaskCount=20

View File

@ -0,0 +1,6 @@
[[test]]
testTitle = 'TimeKeeperCorrectness'
[[test.workload]]
testName = 'TimeKeeperCorrectness'
testDuration = 40.0

View File

@ -1,3 +0,0 @@
testTitle=TimeKeeperCorrectness
testName=TimeKeeperCorrectness
testDuration=40.0

View File

@ -0,0 +1,42 @@
[[test]]
testTitle = 'PreLoad'
[[test.workload]]
testName = 'BulkLoad'
testDuration = 3000.0
valueBytes = 100
targetBytes = 1000000
keyPrefix = '\xff/TESTONLYtxnStateStore/notcycle/'
[[test]]
testTitle = 'Clogged'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 2500.0
testDuration = 10.0
expectedRate = 0
keyPrefix = '\xff/TESTONLYtxnStateStore/'
[[test.workload]]
testName = 'RandomClogging'
testDuration = 10.0
[[test.workload]]
testName = 'Rollback'
meanDelay = 10.0
testDuration = 10.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 10.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 10.0

View File

@ -1,32 +0,0 @@
testTitle=PreLoad
testName=BulkLoad
testDuration=3000.0
valueBytes=100
targetBytes=1000000
keyPrefix=\xff/TESTONLYtxnStateStore/notcycle/
testTitle=Clogged
testName=Cycle
transactionsPerSecond=2500.0
testDuration=10.0
expectedRate=0
keyPrefix=\xff/TESTONLYtxnStateStore/
testName=RandomClogging
testDuration=10.0
testName=Rollback
meanDelay=10.0
testDuration=10.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0

View File

@ -0,0 +1,5 @@
[[test]]
testTitle = 'Unreadable'
[[test.workload]]
testName = 'Unreadable'

View File

@ -1,2 +0,0 @@
testTitle=Unreadable
testName=Unreadable

View File

@ -0,0 +1,6 @@
[[test]]
testTitle = 'VersionStamp'
[[test.workload]]
testName = 'VersionStamp'
soleOwnerOfMetadataVersionKey = true

View File

@ -1,3 +0,0 @@
testTitle=VersionStamp
testName=VersionStamp
soleOwnerOfMetadataVersionKey=true

5
tests/fast/Watches.toml Normal file
View File

@ -0,0 +1,5 @@
[[test]]
testTitle = 'WatchesTest'
[[test.workload]]
testName = 'Watches'

View File

@ -1,2 +0,0 @@
testTitle=WatchesTest
testName=Watches

View File

@ -0,0 +1,31 @@
StderrSeverity = 30
[[test]]
testTitle = 'WriteDuringReadTest'
[[test.workload]]
testName = 'WriteDuringRead'
testDuration = 30.0
[[test.workload]]
testName = 'RandomClogging'
testDuration = 30.0
[[test.workload]]
testName = 'Rollback'
meanDelay = 30.0
testDuration = 30.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 30.0
[[test.workload]]
testName = 'Attrition'
machinesToKill = 10
machinesToLeave = 3
reboot = true
testDuration = 30.0

View File

@ -1,25 +0,0 @@
StderrSeverity=30
testTitle=WriteDuringReadTest
testName=WriteDuringRead
testDuration=30.0
testName=RandomClogging
testDuration=30.0
testName=Rollback
meanDelay=30.0
testDuration=30.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=30.0
testName=Attrition
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=30.0

View File

@ -0,0 +1,7 @@
StderrSeverity = 30
[[test]]
testTitle = 'WriteDuringReadTest'
[[test.workload]]
testName = 'WriteDuringRead'

View File

@ -1,4 +0,0 @@
StderrSeverity=30
testTitle=WriteDuringReadTest
testName=WriteDuringRead

View File

@ -0,0 +1,18 @@
[[test]]
testTitle = 'RandomReadWriteTest'
simCheckRelocationDuration = true
connectionFailuresDisableDuration = 100000
[[test.workload]]
testName = 'ReadWrite'
testDuration = 30.0
transactionsPerSecond = 750
writesPerTransactionA = 0
readsPerTransactionA = 10
writesPerTransactionB = 10
readsPerTransactionB = 1
alpha = 0.5
nodeCount = 150000
valueBytes = 128
discardEdgeMeasurements = false
warmingDelay = 10.0

View File

@ -1,16 +0,0 @@
testTitle=RandomReadWriteTest
simCheckRelocationDuration=true
connectionFailuresDisableDuration=100000
testName=ReadWrite
testDuration=30.0
transactionsPerSecond=750
writesPerTransactionA=0
readsPerTransactionA=10
writesPerTransactionB=10
readsPerTransactionB=1
alpha=0.5
nodeCount=150000
valueBytes=128
discardEdgeMeasurements=false
warmingDelay=10.0

View File

@ -0,0 +1,55 @@
[[test]]
testTitle = 'CloggedCycleTest'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 5000.0
testDuration = 5.0
expectedRate = 0
[[test.workload]]
testName = 'RandomClogging'
testDuration = 5.0
[[test.workload]]
testName = 'RandomClogging'
testDuration = 5.0
scale = 0.1
clogginess = 2.0
[[test]]
testTitle = 'UncloggedCycleTest'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 5000.0
testDuration = 5.0
expectedRate = 0.25
[[test]]
testTitle = 'CloggedCycleTest'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 5000.0
testDuration = 5.0
expectedRate = 0
[[test.workload]]
testName = 'RandomClogging'
testDuration = 5.0
[[test.workload]]
testName = 'RandomClogging'
testDuration = 5.0
scale = 0.1
clogginess = 2.0
[[test]]
testTitle = 'UncloggedCycleTest'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 5000.0
testDuration = 5.0
expectedRate = 0.25

View File

@ -1,39 +0,0 @@
testTitle=CloggedCycleTest
testName=Cycle
transactionsPerSecond=5000.0
testDuration=5.0
expectedRate=0
testName=RandomClogging
testDuration=5.0
testName=RandomClogging
testDuration=5.0
scale=0.1
clogginess=2.0
testTitle=UncloggedCycleTest
testName=Cycle
transactionsPerSecond=5000.0
testDuration=5.0
expectedRate=0.25
testTitle=CloggedCycleTest
testName=Cycle
transactionsPerSecond=5000.0
testDuration=5.0
expectedRate=0
testName=RandomClogging
testDuration=5.0
testName=RandomClogging
testDuration=5.0
scale=0.1
clogginess=2.0
testTitle=UncloggedCycleTest
testName=Cycle
transactionsPerSecond=5000.0
testDuration=5.0
expectedRate=0.25

View File

@ -0,0 +1,22 @@
[[test]]
testTitle = 'CloggedCycleTestWithKills'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 5000.0
testDuration = 30.0
expectedRate = 0.01
[[test.workload]]
testName = 'RandomClogging'
testDuration = 30.0
[[test.workload]]
testName = 'RandomClogging'
testDuration = 30.0
scale = 0.1
clogginess = 2.0
[[test.workload]]
testName = 'Attrition'
testDuration = 30.0

View File

@ -1,16 +0,0 @@
testTitle=CloggedCycleTestWithKills
testName=Cycle
transactionsPerSecond=5000.0
testDuration=30.0
expectedRate=0.01
testName=RandomClogging
testDuration=30.0
testName=RandomClogging
testDuration=30.0
scale=0.1
clogginess=2.0
testName=Attrition
testDuration=30.0

View File

@ -0,0 +1,8 @@
buggify = false
[[test]]
testTitle = 'RandomReadWriteTest'
connectionFailuresDisableDuration = 100000
[[test.workload]]
testName = 'ConflictRange'

View File

@ -1,6 +0,0 @@
buggify=off
testTitle=RandomReadWriteTest
connectionFailuresDisableDuration=100000
testName=ConflictRange

View File

@ -0,0 +1,9 @@
buggify = false
[[test]]
testTitle = 'RandomReadWriteTest'
connectionFailuresDisableDuration = 100000
[[test.workload]]
testName = 'ConflictRange'
testReadYourWrites = true

View File

@ -1,7 +0,0 @@
buggify=off
testTitle=RandomReadWriteTest
connectionFailuresDisableDuration=100000
testName=ConflictRange
testReadYourWrites=true

View File

@ -0,0 +1,27 @@
[[test]]
testTitle = 'RollbackCycleTest'
[[test.workload]]
testName = 'Cycle'
transactionsPerSecond = 2500.0
testDuration = 30.0
expectedRate = 0
[[test.workload]]
testName = 'Rollback'
testDuration = 30.0
meanDelay = 10
[[test.workload]]
testName = 'RandomClogging'
testDuration = 30.0
[[test.workload]]
testName = 'RandomClogging'
testDuration = 30.0
scale = 0.1
clogginess = 2.0
[[test.workload]]
testName = 'Attrition'
testDuration = 30.0

Some files were not shown because too many files have changed in this diff Show More