Skip to content

Commit 81150c8

Browse files
authored
Set max_shards_per_node to 2000 (#11348)
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.
1 parent 3cedabf commit 81150c8

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)