meteor-subscription-scope icon indicating copy to clipboard operation
meteor-subscription-scope copied to clipboard

Tests are currently failing

Open mitar opened this issue 6 years ago • 1 comments

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: https://github.com/meteor/meteor/pull/10696

mitar avatar Sep 19 '19 18:09 mitar

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.

mitar avatar Sep 19 '19 18:09 mitar