Skip to content
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.

feat: add browser_output_timeout and browser_retries option #220

Merged
merged 3 commits into from
Jul 1, 2015

Conversation

vvo
Copy link
Collaborator

@vvo vvo commented Jul 1, 2015

+ add browser_output_timeout option, default to no timeout like before
So that cloud testing does not hangs when uncaught exception thrown
or any other funny thing
Related to (but also useful for anyone) tape-testing/tape#127 and
tape-testing/tape#134
This fixes #185
+ add browser_retries option, default to 6 like before
+ some more debugging information to ease .. debugging
@vvo
Copy link
Collaborator Author

vvo commented Jul 1, 2015

cc @rase- @defunctzombie @MoOx

Before this commit, main errors thrown on zuul would result in an
uncaught leaving a lot of browser opened.

Now it does mean that any error like "timeout opening url" will now
shutdown everything properly and show which browser failed at the end.

Nice?
@@ -1,4 +1,5 @@
var debug = require('debug')('zuul');
var omit = require('lodash').omit;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lodash.omit module instead

Also missing from package.json?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lodash is already in package.json so we better reuse it than install a new 'lodash.omit' dependency right?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't realize that, cool.

otherwise programmatic interface usage is broken. here we fix both
command line and programmatic usage
@vvo
Copy link
Collaborator Author

vvo commented Jul 1, 2015

gonna fix the ci tests, otherwise LGTY @defunctzombie?

@vvo
Copy link
Collaborator Author

vvo commented Jul 1, 2015

Tests ok! YAY!

vvo pushed a commit to algolia/algoliasearch-helper-js that referenced this pull request Jul 1, 2015
This pull request activates travis ci testing on master/develop and
pull requests.

In details:
+ CI testing on all currently supported browsers
+ CI testing on node 0.10, 0.12, iojs
+ `npm test` command that will: test phantom, test node, lint

Package upgrades:
- zuul: gzip assets + better error reporting (defunctzombie/zuul#220,
defunctzombie/zuul#221)
- browserify, eslint, sinon, tape, uglify-js

Put `latest` for algoliasearch dev dependency, enforce being always on
the latest version when testing.

Some docs around contributing.
@defunctzombie
Copy link
Owner

LGTM

@vvo
Copy link
Collaborator Author

vvo commented Jul 1, 2015

it's merging time

vvo pushed a commit that referenced this pull request Jul 1, 2015
…gurable_retries

feat: add browser_output_timeout and browser_retries option
@vvo vvo merged commit 4cee1f1 into master Jul 1, 2015
@vvo vvo deleted the feat/browser_timeout_configurable_retries branch July 1, 2015 22:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Any idea how to add timeout ?
2 participants