Skip to content

Commit 4d7d79c

Browse files
authored
Specify a global timeout of 90 min. for the GitHub build jobs (#471)
The Jenkins build currently sets two timeouts. A 90 min. timeout for the entire build and a 60 min. timeout for the JUnit tests. Whenever we want to adjust the timeout, we have to separate places to edit (the pom.xml file on the test bundle and the Jenkinsfile). We should drop the timeout of the tests and simply rely on the global timeout. Note that we GitHub workflow already has a timeout of 5h by default. It is lowered to 90min to avoid excessive build times in case it ever gets stuck and to keep in in sync with the Jenkins build.
1 parent 47f807f commit 4d7d79c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.github/workflows/maven.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
java: [ 17 ]
1717
runs-on: ${{ matrix.os }}
1818
name: OS ${{ matrix.os }} Java ${{ matrix.java }} compile
19+
timeout-minutes: 90
1920
steps:
2021
- uses: actions/checkout@v3
2122
with:

org.eclipse.wb.tests/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@
7373
<configuration>
7474
<argLine>${ui.test.vmargs}</argLine>
7575
<appArgLine>-nl de -clearPersistedState -consoleLog</appArgLine>
76-
<forkedProcessTimeoutInSeconds>3600</forkedProcessTimeoutInSeconds>
7776
<useUIHarness>true</useUIHarness>
7877
<useUIThread>true</useUIThread>
7978
<application>org.eclipse.ui.ide.workbench</application>

0 commit comments

Comments
 (0)