-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
Use Case
As a developer
I want the tests to not include the offensive "ismaster" term
So that I don't become offended or distracted while working with the Node driver code
User Impact
Unknown
Dependencies
None
Unknowns
- Should I create a global constant or create the constant in each test file?
Acceptance Criteria
- All instances of ismaster in the test files are replaced with a constant named LEGACY_HELLO_COMMAND
Implementation Requirements
- Create const LEGACY_HELLO_COMMAND="isMaster". Replace instances of isMaster with references to that constant. For example,
`if (doc.ismaster || doc.hello)`becomes
`if (doc[LEGACY_HELLO_COMMAND] || doc.hello) {`
Testing Requirements
- None
Documentation Requirements
- None