This is an automated email from the ASF dual-hosted git repository.

zihaoxiang 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 149ff49f11 increase browser container timeout (#14608)
149ff49f11 is described below

commit 149ff49f1146064cd4ffc25509802f7f44c85291
Author: xiangzihao <[email protected]>
AuthorDate: Thu Jul 20 19:17:47 2023 +0800

    increase browser container timeout (#14608)
---
 .../apache/dolphinscheduler/e2e/core/DolphinSchedulerExtension.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/dolphinscheduler-e2e/dolphinscheduler-e2e-core/src/main/java/org/apache/dolphinscheduler/e2e/core/DolphinSchedulerExtension.java
 
b/dolphinscheduler-e2e/dolphinscheduler-e2e-core/src/main/java/org/apache/dolphinscheduler/e2e/core/DolphinSchedulerExtension.java
index 1b2cbfde16..45abb78374 100644
--- 
a/dolphinscheduler-e2e/dolphinscheduler-e2e-core/src/main/java/org/apache/dolphinscheduler/e2e/core/DolphinSchedulerExtension.java
+++ 
b/dolphinscheduler-e2e/dolphinscheduler-e2e-core/src/main/java/org/apache/dolphinscheduler/e2e/core/DolphinSchedulerExtension.java
@@ -139,14 +139,16 @@ final class DolphinSchedulerExtension implements 
BeforeAllCallback, AfterAllCall
                     .withCapabilities(new ChromeOptions())
                     .withCreateContainerCmdModifier(cmd -> 
cmd.withUser("root"))
                     
.withFileSystemBind(Constants.HOST_CHROME_DOWNLOAD_PATH.toFile().getAbsolutePath(),
-                            Constants.SELENIUM_CONTAINER_CHROME_DOWNLOAD_PATH);
+                            Constants.SELENIUM_CONTAINER_CHROME_DOWNLOAD_PATH)
+                    .withStartupTimeout(Duration.ofSeconds(120));
         } else {
             browser = new BrowserWebDriverContainer<>()
                     .withCapabilities(new ChromeOptions())
                     .withCreateContainerCmdModifier(cmd -> 
cmd.withUser("root"))
                     
.withFileSystemBind(Constants.HOST_CHROME_DOWNLOAD_PATH.toFile().getAbsolutePath(),
                             Constants.SELENIUM_CONTAINER_CHROME_DOWNLOAD_PATH)
-                    .withRecordingMode(RECORD_ALL, record.toFile(), MP4);
+                    .withRecordingMode(RECORD_ALL, record.toFile(), MP4)
+                    .withStartupTimeout(Duration.ofSeconds(120));
         }
     }
 

Reply via email to