Skip to content

Commit 2dae422

Browse files
authored
test(NODE-7559): remove timeseries change stream test (#4935)
1 parent d9d371b commit 2dae422

2 files changed

Lines changed: 1 addition & 68 deletions

File tree

test/spec/change-streams/unified/change-streams-nsType.json

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -63,47 +63,6 @@
6363
}
6464
]
6565
},
66-
{
67-
"description": "nsType is present when creating timeseries",
68-
"operations": [
69-
{
70-
"name": "dropCollection",
71-
"object": "database0",
72-
"arguments": {
73-
"collection": "foo"
74-
}
75-
},
76-
{
77-
"name": "createChangeStream",
78-
"object": "database0",
79-
"arguments": {
80-
"pipeline": [],
81-
"showExpandedEvents": true
82-
},
83-
"saveResultAsEntity": "changeStream0"
84-
},
85-
{
86-
"name": "createCollection",
87-
"object": "database0",
88-
"arguments": {
89-
"collection": "foo",
90-
"timeseries": {
91-
"timeField": "time",
92-
"metaField": "meta",
93-
"granularity": "minutes"
94-
}
95-
}
96-
},
97-
{
98-
"name": "iterateUntilDocumentOrError",
99-
"object": "changeStream0",
100-
"expectResult": {
101-
"operationType": "create",
102-
"nsType": "timeseries"
103-
}
104-
}
105-
]
106-
},
10766
{
10867
"description": "nsType is present when creating views",
10968
"operations": [
@@ -142,4 +101,4 @@
142101
]
143102
}
144103
]
145-
}
104+
}

test/spec/change-streams/unified/change-streams-nsType.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -36,32 +36,6 @@ tests:
3636
operationType: create
3737
nsType: collection
3838

39-
- description: "nsType is present when creating timeseries"
40-
operations:
41-
- name: dropCollection
42-
object: *database0
43-
arguments:
44-
collection: &collection0 foo
45-
- name: createChangeStream
46-
object: *database0
47-
arguments:
48-
pipeline: []
49-
showExpandedEvents: true
50-
saveResultAsEntity: &changeStream0 changeStream0
51-
- name: createCollection
52-
object: *database0
53-
arguments:
54-
collection: *collection0
55-
timeseries:
56-
timeField: "time"
57-
metaField: "meta"
58-
granularity: "minutes"
59-
- name: iterateUntilDocumentOrError
60-
object: *changeStream0
61-
expectResult:
62-
operationType: create
63-
nsType: timeseries
64-
6539
- description: "nsType is present when creating views"
6640
operations:
6741
- name: dropCollection

0 commit comments

Comments
 (0)