[SERVER-21164] Change assert to throw in rslib.js's wait loop Created: 27/Oct/15 Updated: 16/Nov/16 Resolved: 11/Dec/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication, Shell, Testing Infrastructure |
| Affects Version/s: | 3.2.0-rc1 |
| Fix Version/s: | 3.2.1, 3.3.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Robert Guo (Inactive) | Assignee: | Jonathan Abrahams |
| Resolution: | Done | Votes: | 0 |
| Labels: | test-only | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Completed: | |||||
| Sprint: | TIG B (10/30/15), TIG E (01/08/16) | ||||
| Participants: | |||||
| Description |
|
There's an assert in a while loop in rslib.js's wait function. It'd be nice if it could be changed to a throw instead, so that there won't be an infinite loop if assert is intentionally overridden in some tests |
| Comments |
| Comment by Githook User [ 11/Dec/15 ] |
|
Author: {u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}Message: (cherry picked from commit 8fef1b5e7aea0d5b8683b580487b1e22e3a30c41) |
| Comment by Githook User [ 11/Dec/15 ] |
|
Author: {u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}Message: |