Skip to content

Commit

Permalink
SERVER-30057 Remove clusterTime from core/set_param1.js test
Browse files Browse the repository at this point in the history
  • Loading branch information
Misha Tyulenev committed Aug 14, 2017
1 parent 7571313 commit 371282c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jstests/core/set_param1.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ old = db.adminCommand({"getParameter": "*"});
// the first time getParameter sends a request to with a shardingTaskExecutor and this sets an
// operationTime. The following commands do not use shardingTaskExecutor.
delete old["operationTime"];
delete old["$clusterTime"];
tmp1 = db.adminCommand({"setParameter": 1, "logLevel": 5});
tmp2 = db.adminCommand({"setParameter": 1, "logLevel": old.logLevel});
now = db.adminCommand({"getParameter": "*"});
delete now["operationTime"];
delete now["$clusterTime"];

assert.eq(old, now, "A");
assert.eq(old.logLevel, tmp1.was, "B");
Expand Down

0 comments on commit 371282c

Please sign in to comment.