SERVER-110074 Remove mongod fixture from serial_run test suite (#42589)

GitOrigin-RevId: 16015b85c8c6a690859996f0cb6d36d4ef653c6a
This commit is contained in:
Jan
2025-10-14 13:43:17 +02:00
committed by MongoDB Bot
parent 1afe75fc71
commit 967996b270
3 changed files with 14 additions and 13 deletions

View File

@@ -9,16 +9,6 @@ selector:
- jstests/serial_run/allow_partial_results_with_maxTimeMS.js - jstests/serial_run/allow_partial_results_with_maxTimeMS.js
executor: executor:
archive: config:
hooks: shell_options:
- ValidateCollections nodb: ""
config: {}
hooks:
- class: ValidateCollections
- class: CleanEveryN
n: 1
fixture:
class: MongoDFixture
mongod_options:
set_parameters:
enableTestCommands: 1

View File

@@ -1,4 +1,7 @@
// Attempt to build 63 indexes simultaneously // Attempt to build 63 indexes simultaneously
const conn = MongoRunner.runMongod({});
assert.neq(null, conn, "unable to start mongod");
const db = conn.getDB("index_multi");
Random.setRandomSeed(); Random.setRandomSeed();
@@ -149,3 +152,5 @@ for (var i in specs) {
} }
print("SUCCESS!"); print("SUCCESS!");
MongoRunner.stopMongod(conn);

View File

@@ -1,4 +1,8 @@
// @tags: [requires_fast_memory] // @tags: [requires_fast_memory]
const conn = MongoRunner.runMongod({});
assert.neq(null, conn, "unable to start mongod");
const db = conn.getDB("memory_test");
let col = db.memoryTest; let col = db.memoryTest;
let buildInfo = assert.commandWorked(db.adminCommand("buildInfo")); let buildInfo = assert.commandWorked(db.adminCommand("buildInfo"));
@@ -64,3 +68,5 @@ doWhereTest(10);
doWhereTest(loopNum); doWhereTest(loopNum);
doWhereTest(loopNum); doWhereTest(loopNum);
doWhereTest(loopNum); doWhereTest(loopNum);
MongoRunner.stopMongod(conn);