From 10f285ada49093f51218457c75346bc4c556f1ff Mon Sep 17 00:00:00 2001 From: SoMuchForSubtlety Date: Fri, 16 Dec 2022 11:18:56 +0100 Subject: [PATCH] re-enable some tests --- build.gradle | 8 +------- .../java/org/testcontainers/DockerRegistryContainer.java | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index 0c5dd50b965..cb63a67e2c8 100644 --- a/build.gradle +++ b/build.gradle @@ -99,18 +99,12 @@ subprojects { if (System.properties['test.profile'] == 'podman') { exclude '**/*DockerCompose*' filter { - excludeTestsMatching '*AuthenticatedImagePullTest*' excludeTestsMatching '*DockerNetworkModeTest*' - excludeTestsMatching '*AmbiguousImagePullTest*' - excludeTestsMatching '*ImagePullPolicyTest*' - excludeTestsMatching '*testThatAuthLocatorIsUsedForDockerComposePull' - excludeTestsMatching '*testMemoryLimitModified' excludeTestsMatching '*testBuilder' excludeTestsMatching '*testModifiers' - excludeTestsMatching '*shouldOnlyPublishExposedPorts' + excludeTestsMatching '*shouldReportOOMAfterWait' - excludeTestsMatching '*runCommandInsideDockerShouldNotFailIfImageDoesNotExistsLocally' } } diff --git a/core/src/test/java/org/testcontainers/DockerRegistryContainer.java b/core/src/test/java/org/testcontainers/DockerRegistryContainer.java index a907c674386..956bb9fff9e 100644 --- a/core/src/test/java/org/testcontainers/DockerRegistryContainer.java +++ b/core/src/test/java/org/testcontainers/DockerRegistryContainer.java @@ -100,7 +100,7 @@ public DockerImageName createImage(String originalImage, String tag) { .withTag(tag); // push the image to the registry - client.tagImageCmd(dummyImageId, imageName.asCanonicalNameString(), tag).exec(); + client.tagImageCmd(dummyImageId, imageName.getUnversionedPart(), tag).exec(); client .pushImageCmd(imageName.asCanonicalNameString())