Skip to content

Commit fed90d9

Browse files
committed
fixup
1 parent 9bda3f3 commit fed90d9

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ jobs:
126126
path: |
127127
**/surefire*-reports/*.txt
128128
**/*.dump*
129+
thread-dump.txt
129130
test-matrix-ipv6:
130131
name: JDK ${{ matrix.jdk }} - ipv6 - ${{ matrix.module }} ${{ matrix.proxy }} - ${{ matrix.os }}
131132
runs-on: ${{ matrix.os }}
@@ -170,13 +171,6 @@ jobs:
170171
- name: Print Version
171172
run: mvn -v
172173
- name: Run Tests
173-
if: matrix.os == 'windows-latest'
174-
run: |
175-
mvn -U -B -fae test -Pproxy '-DfailIfNoTests=false' -pl ${{ matrix.module }} &
176-
Start-Sleep 180
177-
"jstack -l $(jps | awk '$2 ~ /surefirebooter/ {print $1}') > thread-dump.txt" & taskkill /F /PID $(jps | awk '$2 ~ /surefirebooter/ {print $1}') || exit 1
178-
- name: Run Tests
179-
if: matrix.os != 'windows-latest'
180174
run: |
181175
timeout --foreground 180s sh -c 'mvn -U -B -fae test ${{ matrix.proxy }} '-DfailIfNoTests=false' -pl ${{ matrix.module }} -Dtest.ipv6=true;exit' || echo "Hanging test found, we will proceed with a thread dump"
182176
timeout_occurred=$?
@@ -189,3 +183,4 @@ jobs:
189183
path: |
190184
**/surefire*-reports/*.txt
191185
**/*.dump*
186+
thread-dump.txt

0 commit comments

Comments
 (0)