From eaef054f47f65b38ed9ecb0de9d583c7451df4d1 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 7e71292ea67..6bbbf1131d5 100644 --- a/build.gradle +++ b/build.gradle @@ -101,18 +101,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())