Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.

Commit

Permalink
Try to run all tests at once.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémy HUBSCHER committed Aug 21, 2014
1 parent 346fc7a commit 95afd8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ test: lint cover-mocha spaceleft

.PHONY: travis
travis: lint loadtests-check
@env NODE_ENV=test ./node_modules/mocha/bin/mocha test/* --reporter spec -ig websocket
@env NODE_ENV=test ./node_modules/mocha/bin/mocha test/* --reporter spec -g websocket -t 5000
@env NODE_ENV=test ./node_modules/mocha/bin/mocha test/* --reporter spec -t 5000
# @env NODE_ENV=test ./node_modules/mocha/bin/mocha test/* --reporter spec -g websocket -t 5000

install:
@npm install
Expand Down
3 changes: 1 addition & 2 deletions loadtests/loadtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_all(self):
token = self.generate_token()
call_data = self.initiate_call(token)
calls = self.list_pending_calls()
# self._test_websockets(token, call_data, calls)
self._test_websockets(token, call_data, calls)

def _test_websockets(self, token, call_data, calls):
progress_url = call_data['progressURL']
Expand Down Expand Up @@ -79,7 +79,6 @@ def _handle_caller(message_data):
callee_ws.receive()

elif messageType == "progress" and state == "alerting":
gevent.sleep(25)
self._send_ws_message(
caller_ws,
messageType="action",
Expand Down

0 comments on commit 95afd8c

Please sign in to comment.