-
Notifications
You must be signed in to change notification settings - Fork 45
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
before() this.skip() causes hangs, incomplete testing and error #2345
Comments
Thanks for providing the details. The issue is fixed and the fix is published in the latest Wallaby Core v1.0.846. Your core version will be updated automatically, however to get the fix ASAP you may use |
Are you sure @ArtemGovorov? I tried removing the exception for my integration tests file today and it behaved as before:
Putting the exception back in again:
|
@mwri - please ignore this comment - I had misread your core version |
Thanks for checking. We have not considered one scenario that is likely to break in your case. The issue is also fixed and the fix is published in the latest Wallaby Core v1.0.853. Your core version will be updated automatically, however to get the fix ASAP you may use |
Yep, confirmed, I can enable the integration tests without prejudice now, thanks. |
Issue description or question
Bought Wallaby yesterday, I'm using vscode and after some pain, I discovered that calling
this.skip()
frombefore
really messes up Wallaby. About half the time it fails to complete at all (the little animation at the bottom right wizzing away forever and the logs saying a test is taking a long time) and when it does complete it reports 0 failing tests, 157 passing but there are 210 tests!In addition to the report, if it finishes, the following error is emitted:
The cause is one of my test files contains:
The integration tests spin up various docker containers and are quite slow, hence the normal exclusion. Anyway, it turns out that the
this.skip()
is the cause of all the pain, I can comment out the entire file contents and it still does it as long as that's still there. I haven't experimented to see what other contexts skipping is problematic for.Fortunately the integration tests are all in one file, so I've excluded it and all the problems went away.
You probably don't need more information, but, my config is:
And, logging:
The text was updated successfully, but these errors were encountered: