Skip to content

WSL2 (Ubuntu 20.04) 3.4x DefaultDockerComposeIntegrationTests method execution failed #45966

Open
@LinkDownZ

Description

@LinkDownZ

Docker version: 26.1.3
Docker Compose version: v2.20.2
The shouldWorkWithProfiles method test fails with the following log:

java.lang.AssertionError: Did not expect service 'redis2', but found it in [[junit-15645479379355523684-redis1-1, junit-15645479379355523684-redis2-1, junit-15645479379355523684-redis3-1]]
	at org.springframework.boot.docker.compose.core.DefaultDockerComposeIntegrationTests.assertThatDoesNotContainService(DefaultDockerComposeIntegrationTests.java:104)
	at org.springframework.boot.docker.compose.core.DefaultDockerComposeIntegrationTests.shouldWorkWithProfiles(DefaultDockerComposeIntegrationTests.java:71)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions