File tree Expand file tree Collapse file tree 1 file changed +65
-0
lines changed
tests/UnifiedSpecTests/collection-management Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Original file line number Diff line number Diff line change 250
250
]
251
251
}
252
252
]
253
+ },
254
+ {
255
+ "description" : " createCollection with bucketing options" ,
256
+ "runOnRequirements" : [
257
+ {
258
+ "minServerVersion" : " 7.0"
259
+ }
260
+ ],
261
+ "operations" : [
262
+ {
263
+ "name" : " dropCollection" ,
264
+ "object" : " database0" ,
265
+ "arguments" : {
266
+ "collection" : " test"
267
+ }
268
+ },
269
+ {
270
+ "name" : " createCollection" ,
271
+ "object" : " database0" ,
272
+ "arguments" : {
273
+ "collection" : " test" ,
274
+ "timeseries" : {
275
+ "timeField" : " time" ,
276
+ "bucketMaxSpanSeconds" : 3600 ,
277
+ "bucketRoundingSeconds" : 3600
278
+ }
279
+ }
280
+ },
281
+ {
282
+ "name" : " assertCollectionExists" ,
283
+ "object" : " testRunner" ,
284
+ "arguments" : {
285
+ "databaseName" : " ts-tests" ,
286
+ "collectionName" : " test"
287
+ }
288
+ }
289
+ ],
290
+ "expectEvents" : [
291
+ {
292
+ "client" : " client0" ,
293
+ "events" : [
294
+ {
295
+ "commandStartedEvent" : {
296
+ "command" : {
297
+ "drop" : " test"
298
+ },
299
+ "databaseName" : " ts-tests"
300
+ }
301
+ },
302
+ {
303
+ "commandStartedEvent" : {
304
+ "command" : {
305
+ "create" : " test" ,
306
+ "timeseries" : {
307
+ "timeField" : " time" ,
308
+ "bucketMaxSpanSeconds" : 3600 ,
309
+ "bucketRoundingSeconds" : 3600
310
+ }
311
+ },
312
+ "databaseName" : " ts-tests"
313
+ }
314
+ }
315
+ ]
316
+ }
317
+ ]
253
318
}
254
319
]
255
320
}
You can’t perform that action at this time.
0 commit comments