From 63d4bb29d7bfcb4aed9e8a7c061fb163d3502536 Mon Sep 17 00:00:00 2001 From: Mike Grundy Date: Mon, 11 Jul 2016 14:59:30 -0400 Subject: [PATCH] SERVER-24990 Update command_line_parsing.js to ignore cacheSizeGB in configuration comparison --- jstests/noPassthrough/command_line_parsing.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jstests/noPassthrough/command_line_parsing.js b/jstests/noPassthrough/command_line_parsing.js index 7e6fcd8fcf6..d2e02bb9865 100644 --- a/jstests/noPassthrough/command_line_parsing.js +++ b/jstests/noPassthrough/command_line_parsing.js @@ -28,8 +28,9 @@ var m2result = m2.getDB("admin").runCommand("getCmdLineOpts"); delete m2result.parsed.nopreallocj; delete m2result.parsed.setParameter; delete m2result.parsed.storage.engine; -delete m2result.parsed.storage.wiredTiger; delete m2result.parsed.storage.journal; +delete m2result.parsed.storage.rocksdb; +delete m2result.parsed.storage.wiredTiger; assert.docEq(m2expected.parsed, m2result.parsed); // test JSON config file @@ -51,6 +52,7 @@ var m3result = m3.getDB("admin").runCommand("getCmdLineOpts"); delete m3result.parsed.nopreallocj; delete m3result.parsed.setParameter; delete m3result.parsed.storage.engine; -delete m3result.parsed.storage.wiredTiger; delete m3result.parsed.storage.journal; +delete m3result.parsed.storage.rocksdb; +delete m3result.parsed.storage.wiredTiger; assert.docEq(m3expected.parsed, m3result.parsed);