[SERVER-28380] Add a test-only clearLog command for clearing out RamLog, use it in tests when checking for a specific log message Created: 17/Mar/17 Updated: 07/Sep/17 Resolved: 20/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Logging |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.13, 3.4.4, 3.5.5 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | bkp | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v3.4, v3.2
|
||||||||
| Sprint: | Repl 2017-03-27 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
Some tests call the getLog command to try to wait for a certain log message to show up. If that message already showed up previously, however, the test can move on prematurely before the log message is actually generated at the point they want. Adding a clearLog command would enable such tests to clear the log before waiting for the message they are expecting to appear. |
| Comments |
| Comment by Githook User [ 04/Apr/17 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}Message: (cherry picked from commit 07ddacf92a2c53bd5a02878917ab8ebb35874413) |
| Comment by Githook User [ 04/Apr/17 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}Message: (cherry picked from commit 07ddacf92a2c53bd5a02878917ab8ebb35874413) |
| Comment by Githook User [ 20/Mar/17 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}Message: |