blob: 9663f964118ecb24ef18529ea0599d5267b72616 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Startup with --bind_ip_all and --ipv6 should not fail with address already in use.
(function() {
'use strict';
const mongo = MongoRunner.runMongod({ipv6: "", bind_ip_all: ""});
assert(mongo !== null, "Database is not running");
assert.commandWorked(mongo.getDB("test").isMaster(), "isMaster failed");
MongoRunner.stopMongod(mongo);
}());
|