-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Execution
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Currently the CollatorFactoryMock we use in unittests (like in catalog_cache_test_fixture.cpp, can only set the collection default collation to either the simple collation or the kReverseString collation. This makes collation unittesting much more challenging since all calls to parse a collation BSONObj, will result in the kReverseString collation.
I think for more robust unittesting, it's necessary to at least support the three basic types outlined in collator_interface_mock.h.
- has to be done before
-
SERVER-76965 Add more collation unittesting for write_without_shard_key_util helpers
-
- Backlog
-