Skip to content

Commit c639bdd

Browse files
committed
API Tests: Added pause for stack startup.
To reduce test flakiness.
1 parent 812bd33 commit c639bdd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/tests.yml

+6
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,18 @@ jobs:
1515
- name: Setup running platform stack
1616
run: docker compose up --build -d
1717

18+
- name: Pause for stack to start
19+
run: sleep 10
20+
1821
- name: Integration tests - API
1922
run: docker run
2023
--env CONF_DIR=/dp3/tests/test_config
2124
--network container:dp3_api
2225
dp3_interpreter python -m unittest discover -s tests/test_api -v
2326

27+
- name: Check worker errors
28+
run: docker compose logs worker | grep "WARNING\|ERROR\|exception" | grep -v "RabbitMQ\|it's\ OK\ now,\ we're\ successfully\ connected" || true
29+
2430
- name: Teardown platform stack
2531
run: docker compose down
2632

0 commit comments

Comments
 (0)