   return
 
 
-# Event loop gets stuck or idle without this, see
-# https://github.com/apiaryio/dredd/issues/282
-wakeUpEventLoop = (callback) ->
-  setTimeout ->
-    undefined
-  , 1000
-  callback()
-
-
 describe "Dredd class Integration", () ->
   dreddCommand = null
   custom = {}

          res.send {}

        server2 = apiary.listen (PORT + 1), ->
          wakeUpEventLoop ->
            execCommand cmd, () ->
              server2.close ->

        server2.on 'close', done


        server = app.listen PORT, () ->
          server2 = apiary.listen (PORT + 1), ->

        execCommand cmd, () ->
          server2.close ->
            server.close ->

        server.on 'close', done

