This is an automated email from the ASF dual-hosted git repository.
ruanwenjun pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 6be135c350 [Chore] Fix flaky FileManageE2ETest test (#18723)
6be135c350 is described below
commit 6be135c350160cecb90a83b596f6582535581533
Author: xiangzihao <[email protected]>
AuthorDate: Tue Oct 20 17:07:39 2026 +0800
[Chore] Fix flaky FileManageE2ETest test (#18723)
---
.../docker/file-manage/docker-compose.yaml | 29 +++++-----------------
1 file changed, 6 insertions(+), 23 deletions(-)
diff --git
a/dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/resources/docker/file-manage/docker-compose.yaml
b/dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/resources/docker/file-manage/docker-compose.yaml
index e0cfb48b9d..7d97216852 100644
---
a/dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/resources/docker/file-manage/docker-compose.yaml
+++
b/dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/resources/docker/file-manage/docker-compose.yaml
@@ -46,12 +46,10 @@ services:
depends_on:
s3:
condition: service_healthy
- s3-init:
- condition: service_completed_successfully
s3:
image: chrislusf/seaweedfs:4.48
hostname: s3
- command: ["mini", "-dir=/data", "-s3.port=9000"]
+ command: ["mini", "-dir=/data", "-s3.port=9000",
"-bucket=dolphinscheduler"]
ports:
- "9000:9000"
networks:
@@ -60,29 +58,14 @@ services:
AWS_ACCESS_KEY_ID: accessKey123
AWS_SECRET_ACCESS_KEY: secretKey123
healthcheck:
- test: ["CMD", "curl", "-f", "http://localhost:9000/readyz"]
+ test:
+ - CMD-SHELL
+ - >-
+ curl --fail --show-error http://localhost:9000/readyz &&
+ curl --fail --show-error
'http://localhost:8888/buckets/dolphinscheduler/?metadata=true'
interval: 5s
timeout: 5s
retries: 120
- s3-init:
- image: public.ecr.aws/aws-cli/aws-cli:2.37.4
- environment:
- AWS_ACCESS_KEY_ID: accessKey123
- AWS_SECRET_ACCESS_KEY: secretKey123
- AWS_DEFAULT_REGION: us-east-1
- AWS_EC2_METADATA_DISABLED: 'true'
- networks:
- - e2e
- command:
- - --endpoint-url
- - http://s3:9000
- - s3api
- - create-bucket
- - --bucket
- - dolphinscheduler
- depends_on:
- s3:
- condition: service_healthy
networks:
e2e:
driver: bridge