mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
SERVER-24990 Update command_line_parsing.js to ignore cacheSizeGB in configuration comparison
This commit is contained in:
parent
046219822d
commit
63d4bb29d7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user