0
0
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:
Aaron 2011-01-31 12:03:11 -08:00
parent 24481f2875
commit 59e153c525

View File

@ -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();