# Disable buggify for parallel restore
#buggify=on

[[test]]
testTitle = 'BackupAndParallelRestoreWithAtomicOp'
clearAfterTest = false
simBackupAgents = 'BackupToFile'
#timeout is in seconds
timeout = 360000

    [[test.workload]]
    testName = 'AtomicOps'
    nodeCount = 30000
    # Make ops space only 1 key per group
    transactionsPerSecond = 2500.0
    #    nodeCount=4
    #    transactionsPerSecond=250.0
    testDuration = 30.0
    # Specify a type of atomicOp
    # Unset the following two options for debug purpose
    #	opType=0
    #	actorsPerClient=1
    # Each testName=RunRestoreWorkerWorkload creates a restore worker
    # We need at least 3 restore workers: master, loader, and applier

    [[test.workload]]
    testName = 'RunRestoreWorkerWorkload'
    # Test case for parallel restore

    [[test.workload]]
    testName = 'BackupAndParallelRestoreCorrectness'
    backupAfter = 10.0
    restoreAfter = 60.0
    backupRangesCount = -1
    #    use old backup
    usePartitionedLogs = false

    [[test.workload]]
    testName = 'RandomClogging'
    testDuration = 90.0

    [[test.workload]]
    testName = 'Rollback'
    meanDelay = 90.0
    testDuration = 90.0
    # Do NOT kill restore worker process yet
    # Kill other process to ensure restore works when FDB cluster has faults

    [[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
