File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -107,8 +107,8 @@ jobs:
107
107
if : matrix.os == 'windows-latest'
108
108
run : |
109
109
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
112
112
- name : Run Tests
113
113
if : matrix.os != 'windows-latest'
114
114
run : |
@@ -167,8 +167,8 @@ jobs:
167
167
if : matrix.os == 'windows-latest'
168
168
run : |
169
169
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
172
172
- name : Run Tests
173
173
if : matrix.os != 'windows-latest'
174
174
run : |
You can’t perform that action at this time.
0 commit comments