Skip to content

Commit c6fa634

Browse files
committed
check if server is ready
1 parent bda8a33 commit c6fa634

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,22 +364,21 @@ jobs:
364364
docker build -t basyx-python-server -f Dockerfile ..
365365
- name: Run container
366366
run: |
367-
docker run -d -p 8080:80 -v ./input:/input -v ./storage:/storage --name basyx-python-server basyx-python-server
367+
docker run -d -p 8081:80 -v ./input:/input -v ./storage:/storage --name basyx-python-server basyx-python-server
368368
- name: Wait for container and server initialization
369369
run: |
370370
timeout 30s bash -c '
371371
until docker logs basyx-python-server 2>&1 | grep -q "INFO success: quit_on_failure entered RUNNING state"; do
372372
sleep 2
373373
done
374374
'
375-
sleep 8
376375
- name: Check if container is running
377376
run: |
378377
docker inspect --format='{{.State.Running}}' basyx-python-server | grep true
379378
- name: Run AAS Test Engines compliance check
380379
run: |
381380
aas_test_engines check_server \
382-
http://localhost:8080/api/v3.0 \
381+
http://localhost:8081/api/v3.0 \
383382
https://admin-shell.io/aas/API/3/0/AssetAdministrationShellRepositoryServiceSpecification/SSP-002 \
384383
--output html > result.html
385384
- name: Show test results

0 commit comments

Comments
 (0)