Skip to content

Disable Docker-based tests when Docker is not available #4360

Closed
@fmbenhassine

Description

@fmbenhassine

Currently, a full build runs Docker-based (TestContainers) integration tests no matter if Docker is available on the platform or not. This leads to a build failure when Docker is not available. This behaviour can be improved by disabling Docker-based tests when Docker is not available.

The TestContainers library provides the attribute @TestContainers(disabledWithoutDocker = true) for that case. The goal of this issue is to add that attribute to all tests annotated with @TestContainers.

Contributions are welcome!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions