[SERVER-54029] Fix mock_kms.js mock server startup wait Created: 25/Jan/21 Updated: 29/Oct/23 Resolved: 10/Feb/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Mark Benvenuto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Security 2021-02-22 | ||||
| Participants: | |||||
| Linked BF Score: | 11 | ||||
| Description |
|
mock_kms.js needs to call clearRawMongoProgramOutput() before checking rawMongoProgramOutput() for certain strings. Today, the test does not clear the log and this can cause the mock.js to erroneously believe the mock server has started when it is used multiple times in a single test. There are other mocks that share the same issue |
| Comments |
| Comment by Githook User [ 10/Feb/21 ] |
|
Author: {'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}Message: |
| Comment by Githook User [ 10/Feb/21 ] |
|
Author: {'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}Message: |