[SERVER-10355] Add mechanism to programmatically determine whether new update framework is on without admin rights Created: 26/Jul/13 Updated: 02/Aug/18 Resolved: 13/Aug/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Write Ops |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
It is not currently possible to check whether the new update framework is enabled or not without having admin privs to run
We should have a way to check the status of this setting so that we can write js tests that only run in one mode or the other for various reasons. |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 13/Aug/13 ] |
|
Obviated by |
| Comment by Scott Hernandez (Inactive) [ 26/Jul/13 ] |
|
Each js test is run with TestData which includes the smoke flags used, and passed on. That means you can check TestData.setParameters for the newFrameworkEnabled param, like MongoRunner does, to tell if it is enabled. Not great, but possible if the test is run from smoke.py. |