Skip to content

Commit 25a4196

Browse files
skip clientBulkWrite tests and remove duplicate folder
1 parent c207ce1 commit 25a4196

File tree

67 files changed

+19
-18087
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+19
-18087
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
import { loadSpecTests } from '../../spec';
22
import { runUnifiedSuite } from '../../tools/unified-spec-runner/runner';
33

4+
const CLIENT_BULK_WRITE_TESTS = [
5+
'client bulkWrite with one network error succeeds after retry',
6+
'client bulkWrite with two network errors fails after retry',
7+
'client bulkWrite with no multi: true operations succeeds after retryable top-level error',
8+
'client bulkWrite with multi: true operations fails after retryable top-level error',
9+
'client bulkWrite with no multi: true operations succeeds after retryable writeConcernError',
10+
'client bulkWrite with multi: true operations fails after retryable writeConcernError',
11+
'client bulkWrite with retryWrites: false does not retry',
12+
'client.clientBulkWrite succeeds after retryable handshake network error',
13+
'client.clientBulkWrite succeeds after retryable handshake server error (ShutdownInProgress)'
14+
];
15+
416
describe('Retryable Writes', function () {
5-
runUnifiedSuite(loadSpecTests('retryable-writes'));
17+
const tests = loadSpecTests('retryable-writes');
18+
runUnifiedSuite(tests, test => {
19+
if (CLIENT_BULK_WRITE_TESTS.includes(test.description)) {
20+
return 'TODO(NODE-6257): unskip this once clientBulkWrite UTR entity is supported';
21+
}
22+
return false;
23+
});
624
});

0 commit comments

Comments
 (0)