Problem
TEST_COVERAGE.md §19 specifies that wire-protocol namespace validation should have a single centralized test site, with each command running only one representative case. Currently every command (compact, drop, count, aggregate, renameCollection, insert, and others) duplicates a full 15-case BSON-type rejection matrix for the collection-name field, asserting INVALID_NAMESPACE_ERROR.
What to do
- Create the centralized namespace validation test site (location TBD per §19).
- Trim each command's collection-name rejection matrix to 1-2 representative cases that delegate to the central site.
Scope
Commands known to duplicate the matrix:
insert (test_insert_argument_handling.py:21-122)
compact
drop
count
aggregate
renameCollection
- Others
Context
Identified during PR #597 review. Left as-is in that PR to stay consistent with sibling commands. Should be addressed as a single sweep across all commands.
Problem
TEST_COVERAGE.md §19 specifies that wire-protocol namespace validation should have a single centralized test site, with each command running only one representative case. Currently every command (compact, drop, count, aggregate, renameCollection, insert, and others) duplicates a full 15-case BSON-type rejection matrix for the collection-name field, asserting
INVALID_NAMESPACE_ERROR.What to do
Scope
Commands known to duplicate the matrix:
insert(test_insert_argument_handling.py:21-122)compactdropcountaggregaterenameCollectionContext
Identified during PR #597 review. Left as-is in that PR to stay consistent with sibling commands. Should be addressed as a single sweep across all commands.