[CI] [E2E] Increase e2e containers timeout (#14628)

* increase e2e containers timeout
This commit is contained in:
xiangzihao 2023-07-24 16:26:41 +08:00 committed by GitHub
parent 0188f40b84
commit 930d2f05b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 17 additions and 17 deletions

View File

@ -30,7 +30,7 @@ services:
healthcheck:
test: [ "CMD", "curl", "http://localhost:12345/actuator/health" ]
interval: 5s
timeout: 60s
timeout: 300s
retries: 120
depends_on:
clickhouse:
@ -54,7 +54,7 @@ services:
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "localhost:8123/ping"]
interval: 5s
timeout: 60s
timeout: 300s
retries: 120
networks:

View File

@ -30,7 +30,7 @@ services:
healthcheck:
test: [ "CMD", "curl", "http://localhost:12345/actuator/health" ]
interval: 5s
timeout: 60s
timeout: 300s
retries: 120
depends_on:
hive-server:
@ -48,7 +48,7 @@ services:
healthcheck:
test: [ "CMD", "curl", "http://localhost:50070/" ]
interval: 5s
timeout: 60s
timeout: 300s
retries: 120
datanode:
image: bde2020/hadoop-datanode:2.0.0-hadoop2.7.4-java8
@ -63,7 +63,7 @@ services:
healthcheck:
test: [ "CMD", "curl", "http://localhost:50075" ]
interval: 5s
timeout: 60s
timeout: 300s
retries: 120
hive-server:
image: bde2020/hive:2.3.2-postgresql-metastore
@ -84,7 +84,7 @@ services:
healthcheck:
test: beeline -u "jdbc:hive2://127.0.0.1:10000/default" -n health_check -e "show databases;"
interval: 5s
timeout: 60s
timeout: 300s
retries: 120
hive-metastore:
image: bde2020/hive:2.3.2-postgresql-metastore
@ -109,7 +109,7 @@ services:
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 60s
timeout: 300s
retries: 120

View File

@ -33,7 +33,7 @@ services:
healthcheck:
test: [ "CMD", "curl", "http://localhost:12345/actuator/health" ]
interval: 5s
timeout: 60s
timeout: 300s
retries: 120
depends_on:
mysql:
@ -51,7 +51,7 @@ services:
healthcheck:
test: mysqladmin ping -h 127.0.0.1 -u root --password=$$MYSQL_ROOT_PASSWORD
interval: 5s
timeout: 60s
timeout: 300s
retries: 120
networks:

View File

@ -30,7 +30,7 @@ services:
healthcheck:
test: [ "CMD", "curl", "http://localhost:12345/actuator/health" ]
interval: 5s
timeout: 60s
timeout: 300s
retries: 120
depends_on:
postgres:
@ -47,7 +47,7 @@ services:
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 60s
timeout: 300s
retries: 120
networks:

View File

@ -30,7 +30,7 @@ services:
healthcheck:
test: [ "CMD", "curl", "http://localhost:12345/actuator/health" ]
interval: 5s
timeout: 60s
timeout: 300s
retries: 120
depends_on:
sqlserver:
@ -44,7 +44,7 @@ services:
healthcheck:
test: /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P OcP2020123 -Q "SELECT 1"
interval: 5s
timeout: 60s
timeout: 300s
retries: 120
networks:

View File

@ -30,7 +30,7 @@ services:
healthcheck:
test: [ "CMD", "curl", "http://localhost:12345/actuator/health" ]
interval: 5s
timeout: 60s
timeout: 300s
retries: 120
volumes:
- ./common.properties:/opt/dolphinscheduler/conf/common.properties
@ -55,7 +55,7 @@ services:
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 5s
timeout: 120s
timeout: 300s
retries: 120
mc:
image: minio/mc:RELEASE.2022-01-07T06-01-38Z

View File

@ -140,7 +140,7 @@ final class DolphinSchedulerExtension implements BeforeAllCallback, AfterAllCall
.withCreateContainerCmdModifier(cmd -> cmd.withUser("root"))
.withFileSystemBind(Constants.HOST_CHROME_DOWNLOAD_PATH.toFile().getAbsolutePath(),
Constants.SELENIUM_CONTAINER_CHROME_DOWNLOAD_PATH)
.withStartupTimeout(Duration.ofSeconds(120));
.withStartupTimeout(Duration.ofSeconds(300));
} else {
browser = new BrowserWebDriverContainer<>()
.withCapabilities(new ChromeOptions())
@ -148,7 +148,7 @@ final class DolphinSchedulerExtension implements BeforeAllCallback, AfterAllCall
.withFileSystemBind(Constants.HOST_CHROME_DOWNLOAD_PATH.toFile().getAbsolutePath(),
Constants.SELENIUM_CONTAINER_CHROME_DOWNLOAD_PATH)
.withRecordingMode(RECORD_ALL, record.toFile(), MP4)
.withStartupTimeout(Duration.ofSeconds(120));
.withStartupTimeout(Duration.ofSeconds(300));
}
}