diff options
Diffstat (limited to 'jstests/noPassthrough/timeseries_bucketing_parameters_downgrade.js')
-rw-r--r-- | jstests/noPassthrough/timeseries_bucketing_parameters_downgrade.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/jstests/noPassthrough/timeseries_bucketing_parameters_downgrade.js b/jstests/noPassthrough/timeseries_bucketing_parameters_downgrade.js index 42f4b084fa8..5a50f30c6d5 100644 --- a/jstests/noPassthrough/timeseries_bucketing_parameters_downgrade.js +++ b/jstests/noPassthrough/timeseries_bucketing_parameters_downgrade.js @@ -134,17 +134,12 @@ const checkBucketCount = function(count = 1) { checkDowngradeSucceeds(); } -// 2. We expect to successfully downgrade if the 'bucketMaxSpanSeconds' and 'bucketRoundingSeconds' -// correspond to a granularity. +// 2. We expect to successfully downgrade if 'bucketMaxSpanSeconds' corresponds to a granularity. { resetCollection({granularity: 'seconds', bucketMaxSpanSeconds: secondsMaxSpan}); checkDowngradeSucceeds(); - resetCollection({ - granularity: 'seconds', - bucketMaxSpanSeconds: secondsMaxSpan, - bucketRoundingSeconds: secondsRoundingSeconds - }); + resetCollection({granularity: 'seconds', bucketMaxSpanSeconds: secondsMaxSpan}); checkDowngradeSucceeds(); resetCollection({granularity: 'minutes', bucketMaxSpanSeconds: minutesMaxSpan}); |