                 done()
 
     it 'makes some operations', (done) ->
-        makeOperations 20000, done
+        makeOperations 10000, done
 
     it 'waits that the dust settle', (done) ->
-        setTimeout done, 10000
+        setTimeout done, 20000
 
     it 'stops the two cozy-desktop instances', (done) ->
         stopCozyDesktop @one, (code) =>

    return createFileOperation() if files.length is 0
    root = if Math.random() > 0.5 then folders[0] else folders[1]
    src = faker.random.arrayElement files
    dst = faker.company.bs()
    op =
        move: 'file'
        src: path.join root, src
        dst: path.join root, dst
    return op

            fs.remove op.path, callback
        else if op.move
            fs.move op.src, op.dst, callback
        else if op.copy
            fs.copy op.src, op.dst, callback
        else
            throw new Error "Unsupported operation: #{op}"

