Skip to content

Commit 18d604e

Browse files
committed
Revert timeout change and debugging
1 parent 0d8119e commit 18d604e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/unittests.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)