[SERVER-22491] replace db.serverStatus().uptimeEstimate test in dbadmin.js with C++ test Created: 05/Feb/16 Updated: 04/Jan/17 Resolved: 16/Feb/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.10, 3.3.2 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Matt Cotter | Assignee: | Matt Cotter |
| Resolution: | Done | Votes: | 0 |
| Labels: | bkp, test-only | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v3.2
|
||||||||
| Sprint: | Platforms 10 (02/19/16) | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
The elapsed time in the server status is an estimate and can't reliably pass the
check in dbadmin.js Instead, make a Listener test to compare the getElapsedTimeMillis to a real wall-clock. |
| Comments |
| Comment by Matt Cotter [ 30/Aug/16 ] |
|
Done! |
| Comment by Githook User [ 30/Aug/16 ] |
|
Author: {u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}Message: In the original commit, there was a c++ test added, but that test later (cherry picked from commit 84b8780894544f1301d92b65075c16da175b4acb) |
| Comment by Justin Cohler [ 29/Aug/16 ] |
|
matt.cotter it looks like this ticket needs to be backported to 3.2. |
| Comment by Githook User [ 16/Feb/16 ] |
|
Author: {u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}Message: |
| Comment by Githook User [ 11/Feb/16 ] |
|
Author: {u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}Message: This adds a Listen C++ test to check getElapsedTimeMillis against |