Skip to content

Commit

Permalink
Update src/test/kotlin/org/opensearch/indexmanagement/rollup/TestHelp…
Browse files Browse the repository at this point in the history
…ers.kt

Signed-off-by: bowenlan-amzn <bowenlan23@gmail.com>
  • Loading branch information
bowenlan-amzn authored Feb 25, 2025
1 parent 54ff890 commit 52d9b28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import org.opensearch.indexmanagement.rollup.model.metric.Sum
import org.opensearch.indexmanagement.rollup.model.metric.ValueCount
import org.opensearch.test.OpenSearchTestCase
import org.opensearch.test.rest.OpenSearchRestTestCase
import java.util.*
import java.util.Locale

fun randomInterval(): String = if (OpenSearchRestTestCase.randomBoolean()) randomFixedInterval() else randomCalendarInterval()

Expand Down

0 comments on commit 52d9b28

Please sign in to comment.