[SERVER-24740] Remove print statements from assert.soon() calls in sharding/repl_monitor_refresh.js Created: 22/Jun/16 Updated: 25/Jan/17 Resolved: 23/Jun/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.9 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Andy Schwerin | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Sharding 16 (06/24/16) | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 0 | ||||||||||||
| Description |
|
Printing in every iteration of assert.soon() is an anti-pattern that can cause slow or I/O bound test machines to fail to reach the goal state before the assert.soon() timeout expires. This patch adjusts sharding/repl_monitor_refresh.js to only print when assert.soon() fails. |
| Comments |
| Comment by Githook User [ 23/Jun/16 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: Printing in every iteration of assert.soon() is an anti-pattern that can cause |