fix(server-tests): errored tests after Node 15.3.0 update#5744
Merged
AndreyBelym merged 3 commits intoDevExpress:masterfrom Nov 26, 2020
Merged
fix(server-tests): errored tests after Node 15.3.0 update#5744AndreyBelym merged 3 commits intoDevExpress:masterfrom
AndreyBelym merged 3 commits intoDevExpress:masterfrom
Conversation
Collaborator
|
❌ Tests for the commit 539bf94 have failed. See details: |
Collaborator
|
✅ Tests for the commit 539bf94 have passed. See details: |
2 similar comments
Collaborator
|
✅ Tests for the commit 539bf94 have passed. See details: |
Collaborator
|
✅ Tests for the commit 539bf94 have passed. See details: |
miherlosev
requested changes
Nov 26, 2020
Gulpfile.js
Outdated
| // Test | ||
| gulp.step('prepare-tests', gulp.registry().get(SKIP_BUILD ? 'lint' : 'build')); | ||
|
|
||
| function exitDomains () { |
Collaborator
There was a problem hiding this comment.
Move the exitDomains and enterDomains functions to the gulp/helpers/domain.js file.
Also add the !gulp statement to the .gitignore file - https://github.com/DevExpress/testcafe/pull/5724/files#diff-2f754321d62f08ba8392b9b168b83e24ea2852bb5d815d63e767f6c3d23c6ac5R3
miherlosev
approved these changes
Nov 26, 2020
Collaborator
|
✅ Tests for the commit 97a3d5d have passed. See details: |
Collaborator
1 similar comment
Collaborator
AndreyBelym
approved these changes
Nov 26, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I assume that Gulp's domain error handlers started to catch the unhandled promise rejections (placed in the tests for a reason) and interrupt test execution after "Unhandled rejections become errors on the domain" functionality shipped in Node 15.3.0. So, we need to bypass Gulp's error domains (using @AndreyBelym's hack).