Skip to content

Commit

Permalink
Merge branch 'main' into setting
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenlan-amzn committed May 21, 2021
2 parents 14b95c0 + eee3191 commit fbe323e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ class RollupRunnerIT : RollupRestTestCase() {
fun `test search max buckets breaker`() {
generateNYCTaxiData("source_runner_seventh")
// Set the search max buckets to 50 and rollup search retry count to 0 so it won't retry on failure. This is to confirm first that yes we do get an error and moved into failed state.
client().makeRequest("PUT", "/_cluster/settings", StringEntity("""{"persistent":{"search.max_buckets":"50", "opendistro.rollup.search.backoff_count": 0 }}""", ContentType.APPLICATION_JSON))
client().makeRequest("PUT", "/_cluster/settings", StringEntity("""{"persistent":{"search.max_buckets":"50", "plugins.rollup.search.backoff_count": 0 }}""", ContentType.APPLICATION_JSON))

val rollup = Rollup(
id = "page_size_no_retry_first_runner_seventh",
Expand Down

0 comments on commit fbe323e

Please sign in to comment.