Skip to content

Commit

Permalink
test: increase test timeout in InjectorClient
Browse files Browse the repository at this point in the history
The test setup takes more than 2 seconds in Travis CI, which caused the
build to fail. The timeout is 5 seconds now, which seems to be enough.
  • Loading branch information
Miroslav Bajtoš committed Aug 28, 2014
1 parent f49b9ad commit ef53a9c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/InjectorClient.js
Expand Up @@ -107,6 +107,9 @@ describe('InjectorClient', function() {
var injectorClient, debuggerClient;

function setupInjector(done) {
// increase the timeout for Travis CI
this.timeout(5000);

launcher.runPeriodicConsoleLog(true, function(childProcess, client) {
debuggerClient = client;
injectorClient = new InjectorClient({}, debuggerClient);
Expand All @@ -128,6 +131,9 @@ describe('InjectorClient', function() {
var injectorClient, debuggerClient;

function setupInjector(done) {
// increase the timeout for Travis CI
this.timeout(5000);

launcher.runPeriodicConsoleLog(true, function(childProcess, client) {
debuggerClient = client;
injectorClient = new InjectorClient({}, debuggerClient);
Expand Down Expand Up @@ -185,6 +191,9 @@ describe('InjectorClient', function() {
var injectorClient, debuggerClient;

function setupInjector(done) {
// increase the timeout for Travis CI
this.timeout(5000);

launcher.runPeriodicConsoleLog(true, function(childProcess, client) {
debuggerClient = client;
injectorClient = new InjectorClient({}, debuggerClient);
Expand Down

0 comments on commit ef53a9c

Please sign in to comment.