From afb16cf243b9f2e0af91cd612d18e4dd32a0c94b Mon Sep 17 00:00:00 2001 From: Maha Benzekri Date: Tue, 10 Dec 2024 17:14:55 +0100 Subject: [PATCH] fixup --- tests/functional/ingestion/IngestionReader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/ingestion/IngestionReader.js b/tests/functional/ingestion/IngestionReader.js index 89623156d..6b20929e5 100644 --- a/tests/functional/ingestion/IngestionReader.js +++ b/tests/functional/ingestion/IngestionReader.js @@ -112,11 +112,11 @@ describe('ingestion reader tests with mock', function fD() { const topic = testConfig.extensions.ingestion.topic; async.waterfall([ next => { - const client = new MongoClient(mongoUrl,{ + const client = new MongoClient(mongoUrl, { replicaSet: 'rs0', useNewUrlParser: true, readPreference: 'primary', - } ); + }); client.connect().then(client => { this.client = client; this.db = this.client.db('metadata', {