 #   {client, redis, db, testWrapper, driver}
 
 
-createClient = exports.createClient = (db = new Memory(), createDriver = require '../lib/inprocessdriver') ->
-  #console.log "create driver:" + createDriver
+createClient = exports.createClient = (db = new Memory(), createDriver = inprocessDriver) ->
   driver = createDriver db
-  #console.log "driver itself: " + driver.rejectSubmit
 
   testWrapper = {name:'test'}
   sdc = {guage: (->), increment:(->), timing:(->)}

redisLib = require 'redis'
livedb = require '../lib'
Memory = require '../lib/memory'

# createRedisClient = exports.createClient = (db = new Memory()) ->
#   createDriver = require '../lib/redisdriver'

    delete ops.m.ts if ops.m
  ops

exports.calls = (num, fn) ->
  (done) ->
    done()  if num is 0
    n = 0
    fn.call this, ->
      done()  if ++n >= num
      return

    return
