diff options
author | Benety Goh <benety@mongodb.com> | 2021-01-14 21:12:59 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-01-15 03:28:47 +0000 |
commit | b38b3f70467a38daad975330023d3d1f44a81e97 (patch) | |
tree | a82285a21b475e0eb06b22ada0babddc888ea4c2 /jstests/noPassthroughWithMongod | |
parent | 86baa27a51948649d1cdf8e75a5824f66ee55465 (diff) | |
download | mongo-b38b3f70467a38daad975330023d3d1f44a81e97.tar.gz |
SERVER-53336 listCollections returns 'timeseries' as type for timeseries collections
Diffstat (limited to 'jstests/noPassthroughWithMongod')
-rw-r--r-- | jstests/noPassthroughWithMongod/timeseries_create.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/timeseries_create.js b/jstests/noPassthroughWithMongod/timeseries_create.js index ba24ffb7ef1..cd3b46bb4a1 100644 --- a/jstests/noPassthroughWithMongod/timeseries_create.js +++ b/jstests/noPassthroughWithMongod/timeseries_create.js @@ -43,7 +43,7 @@ const testOptions = function(allowed, const collections = assert.commandWorked(testDB.runCommand({listCollections: 1, nameOnly: true})) .cursor.firstBatch; - assert.contains({name: collName, type: "time-series"}, collections); + assert.contains({name: collName, type: "timeseries"}, collections); assert.contains({name: bucketsCollName, type: "collection"}, collections); assert.commandFailedWithCode(testDB.runCommand({drop: bucketsCollName}), |