diff options
author | Henrik Edin <henrik.edin@mongodb.com> | 2020-05-14 15:38:14 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-18 17:40:46 +0000 |
commit | 13b5a669b33656f4f1e54d2a774ac090706491da (patch) | |
tree | 4935e11c420407e2b00d2595a3c4748bd6db22d9 /jstests | |
parent | 392ac32eb819e181413f1b477cad9e9298203759 (diff) | |
download | mongo-13b5a669b33656f4f1e54d2a774ac090706491da.tar.gz |
SERVER-48148 Cleanup of execution logs in db/
(cherry picked from commit 6b38c78843e7eb58dc344d88903727762d7d486d)
Diffstat (limited to 'jstests')
3 files changed, 3 insertions, 3 deletions
diff --git a/jstests/libs/kill_sessions.js b/jstests/libs/kill_sessions.js index 8fcb114e7a2..4c42c2fbc16 100644 --- a/jstests/libs/kill_sessions.js +++ b/jstests/libs/kill_sessions.js @@ -253,7 +253,7 @@ var _kill_sessions_api_module = (function() { assert(checkLog.checkContainsOnceJsonStringMatch( hostToCheck, 20528, - 'id', + 'cursorId', this._cursors[hostToCheck.host].exactValueString), "cursor kill was not logged by " + hostToCheck.host); } else { diff --git a/jstests/noPassthrough/drop_collection_aborts_in_progress_index_builds.js b/jstests/noPassthrough/drop_collection_aborts_in_progress_index_builds.js index 858253c02ec..4a3a9ff7a58 100644 --- a/jstests/noPassthrough/drop_collection_aborts_in_progress_index_builds.js +++ b/jstests/noPassthrough/drop_collection_aborts_in_progress_index_builds.js @@ -50,7 +50,7 @@ const awaitDrop = startParallelShell(() => { }, conn.port); try { - checkLog.contains(testDB.getMongo(), "About to abort all index builders on collection"); + checkLog.containsJson(testDB.getMongo(), 23879); // "About to abort all index builders" } finally { IndexBuildTest.resumeIndexBuilds(testDB.getMongo()); } diff --git a/jstests/noPassthrough/drop_indexes_aborts_in_progress_index_builds_wildcard.js b/jstests/noPassthrough/drop_indexes_aborts_in_progress_index_builds_wildcard.js index f380717b3c2..5bf8855d620 100644 --- a/jstests/noPassthrough/drop_indexes_aborts_in_progress_index_builds_wildcard.js +++ b/jstests/noPassthrough/drop_indexes_aborts_in_progress_index_builds_wildcard.js @@ -47,7 +47,7 @@ const awaitDropIndex = startParallelShell(() => { assert.commandWorked(testDB.runCommand({dropIndexes: TestData.collName, index: "*"})); }, conn.port); -checkLog.contains(testDB.getMongo(), "About to abort all index builders on collection"); +checkLog.containsJson(testDB.getMongo(), 23879); // "About to abort all index builders" IndexBuildTest.resumeIndexBuilds(testDB.getMongo()); awaitFirstIndexBuild(); awaitSecondIndexBuild(); |