Skip to content
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

Tests are currently failing #4

Open
mitar opened this issue Sep 19, 2019 · 1 comment
Open

Tests are currently failing #4

mitar opened this issue Sep 19, 2019 · 1 comment

Comments

@mitar
Copy link
Member

mitar commented Sep 19, 2019

The reason is that we are deleting any fields starting in _sub_ when querying local collections on the client, but this interferes also with maintenance of internal collection, so when server removes our _sub_ fields (when subscription in tests is stopped), those fields are not really removed from internal collection because projection removes them from the object as well then, so tests fail.

If/once this PR lands in Meteor it would fix this issue as well: meteor/meteor#10696

@mitar
Copy link
Member Author

mitar commented Sep 19, 2019

Not sure why it worked in the past.

This is not too critical issue though, only tests are pretty strict. So you should never try to query after you stopped subscription anyway. This is when this failure mode occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant