Skip to content

Commit 2888300

Browse files
committed
test: fix tests
1 parent 344f94b commit 2888300

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

test/integration/retryable-writes/retryable_writes.spec.test.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,6 @@ interface RetryableWriteTestContext {
1414
failPointName?: any;
1515
}
1616

17-
const ALLOWED_BULK_PROPERTIES = [
18-
'acknowledged',
19-
'insertedCount',
20-
'matchedCount',
21-
'modifiedCount',
22-
'deletedCount',
23-
'upsertedCount',
24-
'upsertedIds',
25-
'insertedIds'
26-
];
27-
2817
describe('Legacy Retryable Writes Specs', function () {
2918
let ctx: RetryableWriteTestContext = {};
3019

@@ -167,11 +156,6 @@ async function executeScenarioTest(test, ctx: RetryableWriteTestContext) {
167156
for (const property in expected) {
168157
expect(actual).to.have.deep.property(property, expected[property]);
169158
}
170-
171-
// Check we don't have any extra properties on the bulk write result.
172-
for (const property in actual) {
173-
expect(ALLOWED_BULK_PROPERTIES).to.include(property);
174-
}
175159
}
176160

177161
if (test.outcome.collection) {

0 commit comments

Comments
 (0)