         MCONN_ZK_PATH: "/mconn-dev"
       )
       return Q.resolve()
-    .delay(10000)
+    .delay(if process.env.TRAVIS then 25000 else 10000)
     .then -> done()
 
   describe "check first startup election", ->
     it "should return the same result for all three nodes", (done) ->
-      this.timeout(5000)
+      this.timeout(if process.env.TRAVIS then 7500 else 5000)
       body1 = null
       body2 = null
       body3 = null

      MCONN_ZK_HOSTS: if process.env.ALIAS_PORT_2181_TCP_ADDR? then process.env.ALIAS_PORT_2181_TCP_ADDR + ":2181" else "127.0.0.1:2181"
      MCONN_ZK_PATH: "/mconn-dev"
    )
    Q.delay(10000)
    .then ->
      mconn2 = new Manager("bin/start.js",
        name: "MCONN_NODE_2"


    describe "exit current leader", ->
      before (done) ->
        this.timeout(if process.env.TRAVIS then 25000 else 15000)
        request.get "http://127.0.0.1:1240/v1/leader", {json: true}, (error, req, body) ->
          leaderBefore = body.leader
          request.post "http://127.0.0.1:1242/v1/exit/leader", {json: true}, (error, req, body) ->
            Q.delay(if process.env.TRAVIS then 25000 else 10000).then ->
              request.get "http://127.0.0.1:1241/v1/leader", {json: true}, (error, req, body) ->
                leaderAfter1 = body.leader
                request.get "http://127.0.0.1:1242/v1/leader", {json: true}, (error, req, body) ->
