Skip to content

Commit

Permalink
Timeout fix to unblock merge queue (#30081)
Browse files Browse the repository at this point in the history
  • Loading branch information
victoralfaro-dotcms committed Sep 20, 2024
1 parent ad46643 commit 7a6c6e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ public Browser launchBrowser(final Playwright playwright) {
.launch(new com.microsoft.playwright.BrowserType.LaunchOptions().setHeadless(isCi()));
}

public <C extends AutoCloseable> void close(C... stuffToClose) {
@SafeVarargs
public final <C extends AutoCloseable> void close(C... stuffToClose) {
Stream.of(stuffToClose)
.filter(Objects::nonNull)
.forEach(closeable -> Try
Expand Down
2 changes: 1 addition & 1 deletion parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
<docker.container.name.pattern>${docker.run.context}_%a</docker.container.name.pattern>
<license.user.path>${user.home}/.dotcms/license/license.dat</license.user.path>
<license.use>false</license.use>
<dotcms.startup.timeout>150000</dotcms.startup.timeout>
<dotcms.startup.timeout>240000</dotcms.startup.timeout>
<docker.license.volume.internal>/data/local/dotsecure/license/license.dat</docker.license.volume.internal>
<docker.starter.volume.internal>/data/starter</docker.starter.volume.internal>
<docker.db.volume>${docker.run.context}_db</docker.db.volume>
Expand Down

0 comments on commit 7a6c6e5

Please sign in to comment.