Skip to content

Commit afa135d

Browse files
Updated skip reason
1 parent 52072df commit afa135d

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

test/integration/server-selection/server_selection.spec.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as path from 'path';
33
import { loadSpecTests } from '../../spec';
44
import { runUnifiedSuite } from '../../tools/unified-spec-runner/runner';
55

6-
describe('Server Selection Unified Tests (Spec)', function () {
6+
describe.skip('Server Selection Unified Tests (Spec)', function () {
77
const tests = loadSpecTests(path.join('server-selection', 'logging'));
88
runUnifiedSuite(tests, test => {
99
if (
@@ -14,6 +14,7 @@ describe('Server Selection Unified Tests (Spec)', function () {
1414
) {
1515
return 'not applicable: operationId not supported';
1616
}
17-
return 'TODO: NODE-2471 (ping on connect) and NODE-5774 (duplicate server selection for bulkWrite and other wrapper operations)';
17+
return false;
1818
});
19-
});
19+
}).skipReason =
20+
'TODO: unskip these tests - NODE-2471 (ping on connect) and NODE-5774 (duplicate server selection for bulkWrite and other wrapper operations';

test/integration/server-selection/server_selection.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { loadSpecTests } from '../../spec';
22
import { runUnifiedSuite } from '../../tools/unified-spec-runner/runner';
33

4-
describe('Server Selection Unified Tests (Node Driver)', function () {
4+
describe.only('Server Selection Unified Tests (Node Driver)', function () {
55
/* TODO(NODE-2471) ping on connect
66
* TODO(NODE-5774) duplicate server selection for bulkWrite and other wrapper operations
77
* Remove once the actual unified tests (test/spec/server-selection/logging) are passing

test/integration/server-selection/unified-server-selection-node-specs-logging/replica-set.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"collectionName": "unsatisfiableRPColl",
5353
"collectionOptions": {
5454
"readPreference": {
55-
"mode": "Secondary",
55+
"mode": "secondary",
5656
"tagSets": [
5757
{
5858
"nonexistenttag": "a"

0 commit comments

Comments
 (0)