Skip to content

Commit cc7c7fb

Browse files
Set max_shards_per_node to 2000 (#11348) (#11350)
Our integration tests create a lot of indices due to each test running in its own namespace. Increase the limit, as the performance penalty doesn't matter for the purpose of our tests. (cherry picked from commit 81150c8) Co-authored-by: Mikołaj Świątek <[email protected]>
1 parent d63a2ff commit cc7c7fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test_infra/ess/deployment.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ resource "ec_deployment" "integration-testing" {
113113
}
114114
config = {
115115
docker_image = local.elasticsearch_docker_image
116+
user_settings_json = jsonencode({
117+
"cluster.max_shards_per_node" = 2000
118+
})
116119
}
117120
}
118121
kibana = {

0 commit comments

Comments
 (0)