-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 3.5.12
-
Component/s: Testing Infrastructure
-
Fully Compatible
-
v3.6
-
TIG 2018-04-23
-
56
It is possible for the same pid to be assigned to processes spawned at different points in time during a test. The way serverExitCodeMap is implemented makes it so that checking the exit code of the process in MongoRunner.stopMongod() may see the wrong exit code for the process which was just spawned.
Original description
MongoRunner.stopMongod should explicitly check for exit code 100 on instances where it is expected to fail with non-zero exit code.
- is related to
-
SERVER-27549 Log a message in MongoRunner.stopMongod() when allowedExitCodes is used to test intentional abort
- Closed