Skip to content

Commit d0c7b57

Browse files
committed
More changes
Signed-off-by: fl4via <frainone@redhat.com>
1 parent a8520c9 commit d0c7b57

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ jobs:
107107
if: matrix.os == 'windows-latest'
108108
run: |
109109
mvn -U -B -fae test -Pproxy '-DfailIfNoTests=false' -pl ${{ matrix.module }} &
110-
timeout /t 180 /NoBreak 1>NUL
111-
"jstack -l $(jps | awk '$2 ~ /surefirebooter/ {print $1}') > thread-dump.txt" & taskkill /F /PID $(jps | awk '$2 ~ /surefirebooter/ {print $1}')
110+
Start-Sleep 180
111+
"jstack -l $(jps | awk '$2 ~ /surefirebooter/ {print $1}') > thread-dump.txt" & taskkill /F /PID $(jps | awk '$2 ~ /surefirebooter/ {print $1}') & exit 1
112112
- name: Run Tests
113113
if: matrix.os != 'windows-latest'
114114
run: |
@@ -167,8 +167,8 @@ jobs:
167167
if: matrix.os == 'windows-latest'
168168
run: |
169169
mvn -U -B -fae test -Pproxy '-DfailIfNoTests=false' -pl ${{ matrix.module }} &
170-
timeout /t 180 /NoBreak 1>NUL
171-
"jstack -l $(jps | awk '$2 ~ /surefirebooter/ {print $1}') > thread-dump.txt" & taskkill /F /PID $(jps | awk '$2 ~ /surefirebooter/ {print $1}')
170+
Start-Sleep 180
171+
"jstack -l $(jps | awk '$2 ~ /surefirebooter/ {print $1}') > thread-dump.txt" & taskkill /F /PID $(jps | awk '$2 ~ /surefirebooter/ {print $1}') || exit 1
172172
- name: Run Tests
173173
if: matrix.os != 'windows-latest'
174174
run: |

0 commit comments

Comments
 (0)