-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.x ci improve #6853
4.x ci improve #6853
Conversation
f689832
to
06b64df
Compare
assert.ifError(error); | ||
done(); | ||
}); | ||
MyModel.on('index', function(err) { |
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.
should have used init()
here but this is cherry-pick from master
branch
There're many other test cases using on('index')
so this should be done in a future fix in master
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.
Yeah that's fair, we'll do that later. For now, I don't want to put more effort into 4.x than is necessary. We'll make the changes in master when it is convenient.
assert.ifError(error); | ||
done(); | ||
}); | ||
MyModel.on('index', function(err) { |
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.
Yeah that's fair, we'll do that later. For now, I don't want to put more effort into 4.x than is necessary. We'll make the changes in master when it is convenient.
Summary
cherry-pick some fix of flaky tests from
master
while maintaining compatibility with legacyNode.js 0.10
also manually fix 2 additional flaky tests specific to
4.x