Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
6fd82f8
sync spec tests - no other changes needed
aditi-khare-mongoDB Jun 17, 2024
242c12d
remove stray only
aditi-khare-mongoDB Jun 17, 2024
a8f67d6
sharded <4.4 support
aditi-khare-mongoDB Jun 18, 2024
41e8587
remove typo
aditi-khare-mongoDB Jun 18, 2024
96b5c95
bugs fixed?
aditi-khare-mongoDB Jun 18, 2024
dcef868
remove stray only
aditi-khare-mongoDB Jun 18, 2024
f468ae4
skip outdated tests
aditi-khare-mongoDB Jun 20, 2024
e205a77
Merge branch 'main' into NODE-5720/clarify-retryable-fields
aditi-khare-mongoDB Jun 20, 2024
b22466e
skip tests
aditi-khare-mongoDB Jun 28, 2024
9eb063e
remove stray only
aditi-khare-mongoDB Jun 28, 2024
231fb80
Merge branch 'main' into NODE-5720/clarify-retryable-fields
aditi-khare-mongoDB Jun 28, 2024
e7037e9
skip tests with comment
aditi-khare-mongoDB Jul 9, 2024
440bac7
Merge branch 'main' into NODE-5720/clarify-retryable-fields
aditi-khare-mongoDB Jul 9, 2024
ad5b150
remove stray only
aditi-khare-mongoDB Jul 9, 2024
60ad9ac
fix logic
aditi-khare-mongoDB Jul 10, 2024
a7b760d
Merge branch 'main' into NODE-5720/clarify-retryable-fields
aditi-khare-mongoDB Jul 10, 2024
985dc03
changes to consider top-level code, doesnt pass tests
aditi-khare-mongoDB Jul 11, 2024
ac247a7
delete extraneous folder
aditi-khare-mongoDB Jul 11, 2024
10578d2
Merge branch 'main' into NODE-5720/clarify-retryable-fields
aditi-khare-mongoDB Jul 19, 2024
021e118
lint fix
aditi-khare-mongoDB Jul 19, 2024
fca53fe
Merge branch 'main' into NODE-5720/clarify-retryable-fields
aditi-khare-mongoDB Jul 29, 2024
7a1964b
post node-6276 update
aditi-khare-mongoDB Jul 29, 2024
a0bdcf4
post node-6276 update 2
aditi-khare-mongoDB Jul 29, 2024
5f8020e
requested changes
aditi-khare-mongoDB Jul 29, 2024
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
Prev Previous commit
Next Next commit
skip tests with comment
  • Loading branch information
aditi-khare-mongoDB committed Jul 9, 2024
commit e7037e924efd551b97141fb10d3f11537bbbe914
13 changes: 11 additions & 2 deletions test/integration/retryable-writes/retryable_writes.spec.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { expect } from 'chai';
import * as path from 'path';
import { lt } from 'semver';

import type { Collection, Db, MongoClient } from '../../mongodb';
import { loadSpecTests } from '../../spec';
Expand All @@ -14,7 +15,7 @@ interface RetryableWriteTestContext {
failPointName?: any;
}

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

const retryableWrites = loadSpecTests('retryable-writes', 'legacy');
Expand Down Expand Up @@ -56,6 +57,14 @@ describe('Legacy Retryable Writes Specs', function () {

await utilClient.close();

if (
this.configuration.topologyType === 'Sharded' &&
lt(this.configuration.version, '4.4.0')
) {
// 'TODO(NODE-5925): will be resolved when driver migrates to unified tests
this.skip();
}

if (!someRequirementMet) this.skip();
});

Expand Down Expand Up @@ -220,6 +229,6 @@ async function turnOffFailPoint(client, name) {
});
}

describe('Retryable Writes (unified)', function () {
describe.only('Retryable Writes (unified)', function () {
runUnifiedSuite(loadSpecTests(path.join('retryable-writes', 'unified')));
});