Skip to content

Commit 90b6807

Browse files
committed
GODRIVER-3098 Sync SDAM spec tests at 348d2f39.
1 parent b177a7b commit 90b6807

File tree

206 files changed

+1765
-340
lines changed

Some content is hidden

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

206 files changed

+1765
-340
lines changed

internal/spectest/skip.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,13 @@ var skipTests = map[string]string{
135135
// (BadValue) cannot set maxTimeMS on getMore command for a non-awaitData cursor
136136
//
137137
"TestUnifiedSpec/client-side-operations-timeout/runCursorCommand.json/Non-tailable_cursor_lifetime_remaining_timeoutMS_applied_to_getMore_if_timeoutMode_is_unset": "maxTimeMS can't be set on a getMore. See DRIVERS-2953",
138+
139+
// TODO: Comment.
140+
"TestUnifiedSpec/server-discovery-and-monitoring/unified/rediscover-quickly-after-step-down.json/Rediscover_quickly_after_replSetStepDown": "TODO",
141+
142+
// TODO: Comment. Do we want to sync these?
143+
"TestUnifiedSpec/server-discovery-and-monitoring/unified/replicaset-emit-topology-changed-before-close.json/Topology_lifecycle": "TODO",
144+
"TestUnifiedSpec/server-discovery-and-monitoring/unified/logging-replicaset.json/Topology_lifecycle": "TODO",
138145
}
139146

140147
// CheckSkip checks if the fully-qualified test name matches a skipped test

testdata/server-discovery-and-monitoring/monitoring/discovered_standalone.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"helloOk": true,
1212
"isWritablePrimary": true,
1313
"minWireVersion": 0,
14-
"maxWireVersion": 4
14+
"maxWireVersion": 21
1515
}
1616
]
1717
],

testdata/server-discovery-and-monitoring/monitoring/discovered_standalone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ phases:
55
responses:
66
-
77
- "a:27017"
8-
- { ok: 1, helloOk: true, isWritablePrimary: true, minWireVersion: 0, maxWireVersion: 4 }
8+
- { ok: 1, helloOk: true, isWritablePrimary: true, minWireVersion: 0, maxWireVersion: 21 }
99

1010
outcome:
1111
events:

testdata/server-discovery-and-monitoring/monitoring/replica_set_with_no_primary.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"b:27017"
2020
],
2121
"minWireVersion": 0,
22-
"maxWireVersion": 6
22+
"maxWireVersion": 21
2323
}
2424
]
2525
],

testdata/server-discovery-and-monitoring/monitoring/replica_set_with_no_primary.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ phases:
1717
- "a:27017"
1818
- "b:27017"
1919
minWireVersion: 0
20-
maxWireVersion: 6
20+
maxWireVersion: 21
2121
outcome:
2222
events:
2323
-
@@ -110,4 +110,3 @@ phases:
110110
hosts: []
111111
passives: []
112112
type: "PossiblePrimary"
113-

testdata/server-discovery-and-monitoring/monitoring/replica_set_with_primary.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"b:27017"
1919
],
2020
"minWireVersion": 0,
21-
"maxWireVersion": 6
21+
"maxWireVersion": 21
2222
}
2323
]
2424
],

testdata/server-discovery-and-monitoring/monitoring/replica_set_with_primary.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ phases:
1616
- "a:27017"
1717
- "b:27017"
1818
minWireVersion: 0
19-
maxWireVersion: 6
19+
maxWireVersion: 21
2020
outcome:
2121
events:
2222
-
@@ -109,4 +109,3 @@ phases:
109109
hosts: []
110110
passives: []
111111
type: "Unknown"
112-

testdata/server-discovery-and-monitoring/monitoring/replica_set_with_removal.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"a:27017"
7070
],
7171
"minWireVersion": 0,
72-
"maxWireVersion": 6
72+
"maxWireVersion": 21
7373
}
7474
],
7575
[

testdata/server-discovery-and-monitoring/monitoring/replica_set_with_removal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ phases:
5050
primary: "a:27017",
5151
hosts: [ "a:27017" ],
5252
minWireVersion: 0,
53-
maxWireVersion: 6
53+
maxWireVersion: 21
5454
}
5555
-
5656
- "b:27017"

testdata/server-discovery-and-monitoring/monitoring/required_replica_set.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"b:27017"
1919
],
2020
"minWireVersion": 0,
21-
"maxWireVersion": 6
21+
"maxWireVersion": 21
2222
}
2323
]
2424
],

0 commit comments

Comments
 (0)