The test intentionally modifies the shardIdentity document to an invalid one and tries to restart the shard. The mongod process is expected to abort here:
https://github.com/mongodb/mongo/blob/r3.3.4/jstests/sharding/shard_aware_init.js#L64
However, the shell process does not have a configurable timeout and waits for 10 minutes until it times out:
https://github.com/mongodb/mongo/blob/r3.3.4/src/mongo/shell/servers.js#L918
- is related to
-
SERVER-23875 config_server_checks.js should check server exit status
- Closed