Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Conversation

@smashwilson
Copy link
Contributor

Flag known test flakes with this.retries(5) to limit the pain until we can schedule time to work them down again. Each of these flakes has already been filed with an issue labelled flaky-test.

@smashwilson smashwilson requested a review from kuychaco October 29, 2018 19:44
@coveralls
Copy link

coveralls commented Oct 29, 2018

Coverage Status

Coverage remained the same at 84.871% when pulling 4826e20 on aw/flag-flakes into 32c39c2 on master.

Copy link
Contributor

@kuychaco kuychaco left a comment

Choose a reason for hiding this comment

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

👍 lgtm

@smashwilson smashwilson merged commit d21d382 into master Oct 29, 2018
@smashwilson smashwilson deleted the aw/flag-flakes branch October 29, 2018 20:33
let workdirPath2, atomGitRepository2, repository2;

beforeEach(async function() {
this.retries(5); // FLAKE
Copy link
Contributor

Choose a reason for hiding this comment

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

@smashwilson do we actually want this in the beforeEach? Is the goal with this to retry all of the tests in this describe block?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My intent was to retry the beforeEach itself if it throws. I was going off of #761 which puts the failure there instead of within any of the specific tests.

I'm... not actually sure if that's what Mocha will do here, though? The documentation doesn't make it clear. It doesn't break though?

@vanessayuenn vanessayuenn mentioned this pull request Nov 21, 2018
5 tasks
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.

4 participants