generated from micronaut-projects/micronaut-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore test when running on TestContainers Cloud
When running with TestContainers Desktop, and running TestContainers in the cloud the InfoSpec fails as we build the image locally (using Gradle), and then try to load it in the Cloud (where it doesn't exist). To prevent tests failing locally when this is enabled, this change: 1. Catches the error we see when running containers in the cloud 2. Logs the reason the test is ignored with a solution 3. Sets the test as Ignored (based on the container not running)
- Loading branch information
Showing
2 changed files
with
28 additions
and
7 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
3 changes: 3 additions & 0 deletions
3
test-suite-docker/src/test/groovy/io/micronaut/crac/test/InfoSpec.groovy
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