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
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