Skip to content

Commit f293924

Browse files
wu-shengclaude
andcommitted
Add xpack.security.enabled=false for ES 8 docker-compose files
ES 8 enables security by default, unlike ES 7. The 12 docker-compose files that were upgraded from ES 7.15.0 to 8.18.8 need this setting explicitly disabled for the E2E tests to connect without authentication. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 34bdb88 commit f293924

File tree

12 files changed

+12
-0
lines changed

12 files changed

+12
-0
lines changed

test/e2e-v2/cases/alarm/es/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ services:
2424
- e2e
2525
environment:
2626
- discovery.type=single-node
27+
- xpack.security.enabled=false
2728
healthcheck:
2829
test: ["CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/9200"]
2930
interval: 5s

test/e2e-v2/cases/alarm/es/es-sharding/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ services:
2424
- e2e
2525
environment:
2626
- discovery.type=single-node
27+
- xpack.security.enabled=false
2728
healthcheck:
2829
test: ["CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/9200"]
2930
interval: 5s

test/e2e-v2/cases/baseline/es/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ services:
2424
- e2e
2525
environment:
2626
- discovery.type=single-node
27+
- xpack.security.enabled=false
2728
healthcheck:
2829
test: ["CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/9200"]
2930
interval: 5s

test/e2e-v2/cases/baseline/es/es-sharding/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ services:
2424
- e2e
2525
environment:
2626
- discovery.type=single-node
27+
- xpack.security.enabled=false
2728
healthcheck:
2829
test: ["CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/9200"]
2930
interval: 5s

test/e2e-v2/cases/cluster/zk/es/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ services:
3636
- e2e
3737
environment:
3838
- discovery.type=single-node
39+
- xpack.security.enabled=false
3940
- cluster.routing.allocation.disk.threshold_enabled=false
4041
healthcheck:
4142
test: ["CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/9200"]

test/e2e-v2/cases/event/es/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ services:
2424
- e2e
2525
environment:
2626
- discovery.type=single-node
27+
- xpack.security.enabled=false
2728
- cluster.routing.allocation.disk.threshold_enabled=false
2829
healthcheck:
2930
test: ["CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/9200"]

test/e2e-v2/cases/menu/es/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ services:
2424
- e2e
2525
environment:
2626
- discovery.type=single-node
27+
- xpack.security.enabled=false
2728
- cluster.routing.allocation.disk.threshold_enabled=false
2829
healthcheck:
2930
test: [ "CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/9200" ]

test/e2e-v2/cases/menu/es/es-sharding/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ services:
2424
- e2e
2525
environment:
2626
- discovery.type=single-node
27+
- xpack.security.enabled=false
2728
- cluster.routing.allocation.disk.threshold_enabled=false
2829
healthcheck:
2930
test: [ "CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/9200" ]

test/e2e-v2/cases/profiling/async-profiler/es/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ services:
2424
- e2e
2525
environment:
2626
- discovery.type=single-node
27+
- xpack.security.enabled=false
2728
- cluster.routing.allocation.disk.threshold_enabled=false
2829
healthcheck:
2930
test: ["CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/9200"]

test/e2e-v2/cases/profiling/pprof/es/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ services:
2424
- e2e
2525
environment:
2626
- discovery.type=single-node
27+
- xpack.security.enabled=false
2728
- cluster.routing.allocation.disk.threshold_enabled=false
2829
healthcheck:
2930
test: ["CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/9200"]

0 commit comments

Comments
 (0)