diff options
Diffstat (limited to 'jstests/noPassthrough/client_metadata_log.js')
-rw-r--r-- | jstests/noPassthrough/client_metadata_log.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/client_metadata_log.js b/jstests/noPassthrough/client_metadata_log.js index 419a19a9ebb..d2662d8905d 100644 --- a/jstests/noPassthrough/client_metadata_log.js +++ b/jstests/noPassthrough/client_metadata_log.js @@ -7,7 +7,7 @@ let checkLog = function(conn) { let coll = conn.getCollection("test.foo"); - assert.writeOK(coll.insert({_id: 1})); + assert.commandWorked(coll.insert({_id: 1})); print(`Checking ${conn.fullOptions.logFile} for client metadata message`); let log = cat(conn.fullOptions.logFile); |