[SERVER-11639] Migrate 'startup tests' to C++ unit test or dbtest framework Created: 08/Nov/13 Updated: 18/May/15 Resolved: 18/May/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
The StartupTests introduce code that is not necessary for the server to run into the server runtime environment. The tests also rely on static initialization for registration. Given that we now rely on our CI system to validate the server, the concept of startup tests is no longer helpful. These tests should be migrated into C++ unit tests, either standalone or dbtest style. Some tests are probably redundant with existing tests, those should be removed. |
| Comments |
| Comment by Githook User [ 25/Nov/13 ] |
|
Author: {u'username': u'TylerBrock', u'name': u'Tyler Brock', u'email': u'tyler.brock@gmail.com'}Message: Signed-off-by: Matt Kangas <matt.kangas@mongodb.com> |
| Comment by Githook User [ 25/Nov/13 ] |
|
Author: {u'username': u'TylerBrock', u'name': u'Tyler Brock', u'email': u'tyler.brock@gmail.com'}Message: Signed-off-by: Matt Kangas <matt.kangas@mongodb.com> |
| Comment by Tyler Brock [ 15/Nov/13 ] |
|
Attaching the output of grep annotated with code snippet where StartupTest was found. |
| Comment by Eliot Horowitz (Inactive) [ 10/Nov/13 ] |
|
Some of these tests sanity check the environment (Endianness, etc...) |