File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -68,15 +68,20 @@ jobs:
6868
6969 - name : Check status of unit tests
7070 run : |
71- timeout 300s \
71+ timeout 120s \
7272 bash -c \
7373 'until \
7474 curl -s -H "Accept: application/json" -o $GITHUB_WORKSPACE/out/test_results.json -w "%{http_code}" http://localhost:8080/rest/wfcunittest/v1/wfcunittests/status | grep "200" && \
7575 cat $GITHUB_WORKSPACE/out/test_results.json | jq ".Result" | grep "_3_Success"; \
7676 do sleep 5; done' \
7777 || true
78+ echo "Test results file contents:"
79+ cat $GITHUB_WORKSPACE/out/test_results.json || echo "No test results file found"
80+ echo "Checking test result status:"
7881 if ! cat $GITHUB_WORKSPACE/out/test_results.json | jq ".Result" | grep "_3_Success" ; then
79- echo “Failed to execute tests”
82+ echo "Test result details:"
83+ cat $GITHUB_WORKSPACE/out/test_results.json | jq '.' || echo "Failed to parse JSON"
84+ echo "Failed to execute tests"
8085 exit 1
8186 fi
8287
You can’t perform that action at this time.
0 commit comments