You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
i.e. reparse up to block X across different head states and check collection hashes.
Unfortunately MongoDB uses random variables in the default ObjectId's (collision avoidance I guess?) http://docs.mongodb.org/manual/reference/object-id/ making collection hashes differ.
One possibility is to not use the default objectid's - the other is to populate several databases during testing and then compare their collections item by item.
Thoughts?
Optimally something like this would be possible https://github.com/porcupine/counterblockd/blob/modular-tests/lib/modules/tests.py
i.e. reparse up to block X across different head states and check collection hashes.
Unfortunately MongoDB uses random variables in the default ObjectId's (collision avoidance I guess?) http://docs.mongodb.org/manual/reference/object-id/ making collection hashes differ.
One possibility is to not use the default objectid's - the other is to populate several databases during testing and then compare their collections item by item.
Thoughts?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: