File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
spec/spec_tests/data/collection_management Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -127,3 +127,38 @@ tests:
127127 filter : {}
128128 sort : { time: 1 }
129129 databaseName : *database0Name
130+
131+ - description : " createCollection with bucketing options"
132+ runOnRequirements :
133+ - minServerVersion : " 7.0"
134+ operations :
135+ - name : dropCollection
136+ object : *database0
137+ arguments :
138+ collection : *collection0Name
139+ - name : createCollection
140+ object : *database0
141+ arguments :
142+ collection : *collection0Name
143+ timeseries : ×eries1
144+ timeField : " time"
145+ bucketMaxSpanSeconds : 3600
146+ bucketRoundingSeconds : 3600
147+ - name : assertCollectionExists
148+ object : testRunner
149+ arguments :
150+ databaseName : *database0Name
151+ collectionName : *collection0Name
152+ expectEvents :
153+ - client : *client0
154+ events :
155+ - commandStartedEvent :
156+ command :
157+ drop : *collection0Name
158+ databaseName : *database0Name
159+ - commandStartedEvent :
160+ command :
161+ create : *collection0Name
162+ timeseries : *timeseries1
163+ databaseName : *database0Name
164+
You can’t perform that action at this time.
0 commit comments