[SERVER-31219] Get rid of getGlobalServiceContext Created: 22/Sep/17 Updated: 06/Dec/22 Resolved: 16/Mar/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | DO NOT USE - Backlog - Dev Tools |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Developer Tools
|
||||||||||||||||
| Sprint: | Platforms 2018-01-01, Platforms 2018-01-15 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
The presence of a static globalServiceContext variable is an impediment to being able to write unit-tests, which contain different environments or storage engines and it should be removed. The codebase seems to be pretty close to that goal. As part of this change, we should:
|
| Comments |
| Comment by Henrik Edin [ 16/Mar/18 ] |
|
See related ticket |