diff options
Diffstat (limited to 'jstests/core/txns/list_collections_not_blocked_by_txn.js')
-rw-r--r-- | jstests/core/txns/list_collections_not_blocked_by_txn.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/txns/list_collections_not_blocked_by_txn.js b/jstests/core/txns/list_collections_not_blocked_by_txn.js index fb9cf6340e4..b56699a28ba 100644 --- a/jstests/core/txns/list_collections_not_blocked_by_txn.js +++ b/jstests/core/txns/list_collections_not_blocked_by_txn.js @@ -17,7 +17,7 @@ mydb.foo.drop({writeConcern: {w: "majority"}}); assert.commandWorked(mydb.createCollection("foo", {writeConcern: {w: "majority"}})); -const isMongos = assert.commandWorked(db.runCommand("ismaster")).msg === "isdbgrid"; +const isMongos = assert.commandWorked(db.runCommand("hello")).msg === "isdbgrid"; if (isMongos) { // Before starting the transaction below, access the collection so it can be implicitly // sharded and force all shards to refresh their database versions because the refresh |