mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 00:56:44 +01:00
11 lines
343 B
JavaScript
11 lines
343 B
JavaScript
// 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);
|
|
}());
|