-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix flaky integration tests in xample-domain (#2931)
- Loading branch information
Showing
2 changed files
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,8 +41,6 @@ jobs: | |
run: sleep 60s | ||
shell: bash | ||
|
||
|
||
|
||
- name: 'Check for RabbitMQ to be ready' | ||
uses: department-of-veterans-affairs/[email protected] | ||
with: | ||
|
@@ -82,6 +80,7 @@ jobs: | |
fi | ||
./gradlew -p domain-xample integrationTest | ||
- name: "Collect docker logs" | ||
if: always() | ||
uses: jwalton/gh-docker-logs@v2 | ||
|
@@ -102,7 +101,7 @@ jobs: | |
echo "Unexpected ERROR logs in xample-workflows container" | ||
exit 11 | ||
fi | ||
if docker logs vro_svc-xample-j_1 | grep 'ERROR\|WARN' | grep -v 'Simulated error'; then | ||
if docker logs vro_svc-xample-j_1 | grep 'ERROR\|WARN' | grep -v 'Simulated error' | grep -v SimpleMessageListenerContainer ; then | ||
echo "Unexpected ERROR logs in svc-xample-j container" | ||
exit 12 | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters