Skip to content

Commit b22466e

Browse files
skip tests
1 parent e205a77 commit b22466e

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

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

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ interface RetryableWriteTestContext {
1414
failPointName?: any;
1515
}
1616

17-
describe('Legacy Retryable Writes Specs', function () {
17+
describe.only('Legacy Retryable Writes Specs', function () {
1818
let ctx: RetryableWriteTestContext = {};
1919

2020
const retryableWrites = loadSpecTests('retryable-writes', 'legacy');
@@ -79,17 +79,8 @@ describe('Legacy Retryable Writes Specs', function () {
7979
await ctx.client.close();
8080
ctx = {}; // reset context
8181
});
82-
8382
for (const spec of suite.tests) {
84-
if (
85-
LEGACY_SKIP_TESTS_4_4_SHARDED.includes(spec.description) &&
86-
this.ctx.topologyType === 'Sharded' &&
87-
Number(this.ctx.version) <= 4.4
88-
) {
89-
this.ctx.skipReason =
90-
'drivers should not consider the code within the writeConcernError field from a pre-4.4 mongos response';
91-
this.ctx.skip();
92-
} else {
83+
if (!LEGACY_SKIP_TESTS_4_4_SHARDED.includes(spec.description)) {
9384
// Step 2: Run the test
9485
const mochaTest = it(spec.description, async () => await executeScenarioTest(spec, ctx));
9586

0 commit comments

Comments
 (0)