Skip to content

Commit 7a6741b

Browse files
committed
Test output
Signed-off-by: Victor Chang <[email protected]>
1 parent 9a401f8 commit 7a6741b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/test-monai-deploy-express.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
continue-on-error: true
5555
run: docker compose logs > logs.txt
5656

57-
- name: Run Hello World Workflow
57+
- name: Register Hello World Workflow
5858
working-directory: ./deploy/monai-deploy-express
5959
run: |
6060
curl --request POST --header 'Content-Type: application/json' --data "@sample-workflows/hello-world.json" http://localhost:5001/workflows
@@ -63,11 +63,14 @@ jobs:
6363
run: |
6464
curl -L -o sample.dcm "https://github.com/fo-dicom/fo-dicom/raw/refs/heads/development/Tests/FO-DICOM.Tests/Test%20Data/GH1146.dcm"
6565
storescu -v -aet ORTHANC -aec MONAI-DEPLOY localhost 104 sample.dcm
66-
sleep 10
66+
sleep 30s
6767
6868
- name: Verify Hello World Workflow Output
6969
run: |
70-
CONTAINER_ID=$(docker container list -a -n 1 -q)
70+
CONTAINER_ID=$(docker container list -a | grep "alpine:latest" | head -n 1 | awk '{print $1}')
71+
docker container list -a | grep "alpine:latest"
72+
echo "Container ID: $CONTAINER_ID"
73+
docker logs $CONTAINER_ID
7174
test 2 -eq $(docker logs $CONTAINER_ID | grep "1.3.6.1.4.1.23438.1.1.1.dcm" | wc -l)
7275
test 1 -eq $(docker logs $CONTAINER_ID | grep "1.3.6.1.4.1.23438.1.1.1.dcm.json" | wc -l)
7376

0 commit comments

Comments
 (0)