Skip to content

Commit

Permalink
Fix rootless build
Browse files Browse the repository at this point in the history
  • Loading branch information
eddumelendez committed Dec 16, 2024
1 parent a74ca4d commit f7973aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class GenericContainerTest {
public void shouldReportOOMAfterWait() {
Info info = DockerClientFactory.instance().client().infoCmd().exec();
// Poor man's rootless Docker detection :D
Assumptions.assumeThat(info.getSecurityOptions()).doesNotContain("rootless");
Assumptions.assumeThat(info.getSecurityOptions()).doesNotContain("name=rootless");
try (
GenericContainer<?> container = new GenericContainer<>(TestImages.TINY_IMAGE)
.withStartupCheckStrategy(new NoopStartupCheckStrategy())
Expand Down

0 comments on commit f7973aa

Please sign in to comment.