diff options
author | Eric Milkie <milkie@10gen.com> | 2020-07-15 16:30:45 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-07-15 20:52:08 +0000 |
commit | 02e0fc0714f54e4a53895699411c3d19f776dffe (patch) | |
tree | 38263af62d8abbe33eefd87781fafc67f30d338b | |
parent | 6377d98fadd8ab5c10eb1e0bb240dc4151fda316 (diff) | |
download | mongo-02e0fc0714f54e4a53895699411c3d19f776dffe.tar.gz |
SERVER-47714 fix test
-rw-r--r-- | jstests/replsets/profile.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/replsets/profile.js b/jstests/replsets/profile.js index 06c5a5d8815..caa5d7f8871 100644 --- a/jstests/replsets/profile.js +++ b/jstests/replsets/profile.js @@ -24,7 +24,8 @@ assert.eq(0, primaryDB.system.profile.count()); assert.eq([{_id: 1}], primaryDB.foo.aggregate([]).toArray()); let newAssertCounts = primaryDB.serverStatus().asserts; assert.eq(oldAssertCounts, newAssertCounts); -assert.eq(1, primaryDB.system.profile.count()); +// Should have 2 entries, one for the count command and one for the aggregate command. +assert.eq(2, primaryDB.system.profile.count()); rst.stopSet(); })(); |