Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api-compatibility.versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dse_version=6.9.21
data_api_version=v1.0.46
data_api_version=v1.0.52
3 changes: 1 addition & 2 deletions tests/driver/collections.api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -769,11 +769,10 @@ describe('COLLECTIONS: mongoose Model API level tests with collections', async (
);

let cursor = Product.find().sort({ name: 1 }).cursor();
for (let i = 0; i < 20; ++i) {
for (let i = 0; i < 25; ++i) {
const product = await cursor.next();
assert.equal(product?.name, `Product ${(i + 1).toString().padStart(2, '0')}`, 'Failed at index ' + i);
}
assert.equal(await cursor.next(), null);

cursor = await Product.find().sort({ name: 1 }).limit(20).cursor();
for (let i = 0; i < 20; ++i) {
Expand Down
3 changes: 1 addition & 2 deletions tests/driver/tables.api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -579,11 +579,10 @@ describe('TABLES: Mongoose Model API level tests', async () => {
);

let cursor = Product.find().sort({ name: 1 }).cursor();
for (let i = 0; i < 20; ++i) {
for (let i = 0; i < 25; ++i) {
const product = await cursor.next();
assert.equal(product?.name, `Product ${(i + 1).toString().padStart(2, '0')}`, 'Failed at index ' + i);
}
assert.equal(await cursor.next(), null);

cursor = await Product.find().sort({ name: 1 }).limit(20).cursor();
for (let i = 0; i < 20; ++i) {
Expand Down
2 changes: 1 addition & 1 deletion tests/driver/tables.driver.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ describe('TABLES: driver based tests', async () => {

await assert.rejects(
collection.createIndex({ propertyThatDoesNotExist: true }, {}),
/The command attempted to index the unknown columns: "propertyThatDoesNotExist"/
/The command attempted to create an index on a column that is not in the table schema/
);
});
});
Expand Down
Loading