diff options
author | Blake Oler <blake.oler@mongodb.com> | 2018-10-02 15:58:53 -0400 |
---|---|---|
committer | Blake Oler <blake.oler@mongodb.com> | 2018-10-11 11:37:54 -0400 |
commit | f2944ecc32d49ecdf801b38653b79e2396a40510 (patch) | |
tree | 387c23852fa6978663bd5c823a0d50f77b9c6816 /jstests/ssl | |
parent | cc99b89e8c2ecbae3b4ae006f0a97927fe6040ce (diff) | |
download | mongo-f2944ecc32d49ecdf801b38653b79e2396a40510.tar.gz |
SERVER-35323 Guarantee the command object sent by the ShardingTaskExecutor will always have the correct logical session id
Diffstat (limited to 'jstests/ssl')
-rw-r--r-- | jstests/ssl/ssl_get_more.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/jstests/ssl/ssl_get_more.js b/jstests/ssl/ssl_get_more.js index f70afc38054..5b75a43b377 100644 --- a/jstests/ssl/ssl_get_more.js +++ b/jstests/ssl/ssl_get_more.js @@ -40,6 +40,16 @@ assert.eq(3, cursor.itcount()); } + assert.commandWorked(db.createCollection("bar")); + assert.commandWorked(db.createCollection("baz")); + + for (let i = 0; i < 10; i++) { + const res = + assert.commandWorked(db.runCommand({listCollections: 1, cursor: {batchSize: 0}})); + const cursor = new DBCommandCursor(db, res); + assert.eq(3, cursor.itcount()); + } + // Authenticate csrs so ReplSetTest.stopSet() can do db hash check. if (st.configRS) { st.configRS.nodes.forEach((node) => { |