mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
for now, allow exit code 14 in killall test SERVER-2184
This commit is contained in:
parent
24481f2875
commit
59e153c525
@ -21,8 +21,11 @@ sleep( 1000 );
|
||||
* stopMongod sends a standard kill signal to mongod, then waits for mongod to stop. If mongod doesn't stop
|
||||
* in a reasonable amount of time, stopMongod sends kill -9 and in that case will not return 12. We're checking
|
||||
* in this assert that mongod will stop quickly even while evaling an infinite loop in server side js.
|
||||
*
|
||||
* 14 is sometimes returned instead due to SERVER-2184
|
||||
*/
|
||||
assert.eq( 12, stopMongod( port ) );
|
||||
exitCode = stopMongod( port );
|
||||
assert( exitCode == 12 || exitCode == 14 );
|
||||
|
||||
s1();
|
||||
s2();
|
||||
|
Loading…
Reference in New Issue
Block a user