-
Notifications
You must be signed in to change notification settings - Fork 120
fix(tests): Bail out after the first test failure to speed test runs. #4678
Conversation
@@ -40,7 +40,9 @@ function (intern, topic, firefoxProfile) { | |||
|
|||
var config = { | |||
asyncTimeout: asyncTimeout, | |||
bail: true, // bail after the first test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shane-tomlinson can we make this an option in the cli via args
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but i think it should be fine as true
for default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vladikoff - sure, I just wanted to see whether it worked. It does. :D
capabilities: {}, | ||
defaultTimeout: 45000, // 30 seconds just isn't long enough for some tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay!
@shane-tomlinson while you are in functional tests there is a thing... I noticed a thing that may happen with the verification. In our tests we have:
|
…test runs. Also bump timeout to 45 seconds.
d46644a
to
cdd75a0
Compare
@vladikoff - r? |
Circle and travis keep running, even after there's a test failure.
This is an experiment.
Also bump timeout to 45 seconds.