Skip to content

Commit 372747f

Browse files
authored
DRIVERS-1343 Fix topology and delete rename target (#1169)
1 parent 7d48818 commit 372747f

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

source/change-streams/tests/unified/change-streams.json

+8-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
"schemaVersion": "1.0",
44
"runOnRequirements": [
55
{
6-
"minServerVersion": "3.6"
7-
},
8-
{
6+
"minServerVersion": "3.6",
97
"topologies": [
108
"replicaset",
119
"sharded-replicaset"
@@ -439,6 +437,13 @@
439437
},
440438
"saveResultAsEntity": "changeStream0"
441439
},
440+
{
441+
"name": "dropCollection",
442+
"object": "database0",
443+
"arguments": {
444+
"collection": "collection1"
445+
}
446+
},
442447
{
443448
"name": "rename",
444449
"object": "collection0",

source/change-streams/tests/unified/change-streams.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ description: "change-streams"
22
schemaVersion: "1.0"
33
runOnRequirements:
44
- minServerVersion: "3.6"
5-
- topologies: [ replicaset, sharded-replicaset ]
5+
topologies: [ replicaset, sharded-replicaset ]
66
createEntities:
77
- client:
88
id: &client0 client0
@@ -233,10 +233,14 @@ tests:
233233
arguments:
234234
pipeline: []
235235
saveResultAsEntity: &changeStream0 changeStream0
236+
- name: dropCollection
237+
object: *database0
238+
arguments:
239+
collection: &collection1 collection1
236240
- name: rename
237241
object: *collection0
238242
arguments:
239-
to: &collection1 collection1
243+
to: *collection1
240244
- name: iterateUntilDocumentOrError
241245
object: *changeStream0
242246
expectResult:

0 commit comments

Comments
 (0)