From d960c7ae7a514b64ac38c74bee5457b05471464a Mon Sep 17 00:00:00 2001 From: Lazarin Lazarov Date: Tue, 2 Jul 2019 15:48:37 +0300 Subject: [PATCH] Ignore failing docker hub related tests Docker hub registry api has change, VBV-2777 was logged. Ignored tests: * ContainerImageTagsIT.testListTagsFromDockerHubFullImageName * ContainerImageTagsIT.testListTagsFromDockerHub * TemplateSearchServiceIT.testSearchImagesWhenRegistriesAreDisabled * TemplateSearchServiceIT.testSearchImagesFromRegistriesWithSpecificPath Change-Id: Ia3826bf2fac4fa52ecf7fc2cbcfca0e1ff857ad6 Reviewed-on: https://bellevue-ci-gerrit.eng.vmware.com:443/c/74253 Closures-Verified: jenkins Upgrade-Verified: jenkins CS-Verified: jenkins Reviewed-by: Antonio Filipov Bellevue-Verified: jenkins PG-Verified: jenkins --- .../java/com/vmware/admiral/host/ContainerImageTagsIT.java | 3 +++ .../admiral/test/integration/TemplateSearchServiceIT.java | 3 +++ 2 files changed, 6 insertions(+) diff --git a/test-integration/src/test/java/com/vmware/admiral/host/ContainerImageTagsIT.java b/test-integration/src/test/java/com/vmware/admiral/host/ContainerImageTagsIT.java index bc7f0d560..9dcd00caf 100644 --- a/test-integration/src/test/java/com/vmware/admiral/host/ContainerImageTagsIT.java +++ b/test-integration/src/test/java/com/vmware/admiral/host/ContainerImageTagsIT.java @@ -30,6 +30,7 @@ import org.junit.Before; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.Test; import com.vmware.admiral.adapter.registry.service.RegistryAdapterService; @@ -105,6 +106,7 @@ public void testListTagsFromV2Registry() throws Exception { verifyImageTags(imageName, TENANT, new String[] { DEFAULT_TAG }); } + @Ignore("VBV-2777") @Test public void testListTagsFromDockerHub() throws Throwable { // Docker Hub list tags requests are expected to use the v2 endpoint, @@ -114,6 +116,7 @@ public void testListTagsFromDockerHub() throws Throwable { verifyImageTags(TEST_IMAGE_DOCKER_HUB, TENANT, expectedTags); } + @Ignore("VBV-2777") @Test public void testListTagsFromDockerHubFullImageName() throws Throwable { configureRegistry(defaultRegistryAddress, TENANT); diff --git a/test-integration/src/test/java/com/vmware/admiral/test/integration/TemplateSearchServiceIT.java b/test-integration/src/test/java/com/vmware/admiral/test/integration/TemplateSearchServiceIT.java index 3e4c1aa36..e21612f29 100644 --- a/test-integration/src/test/java/com/vmware/admiral/test/integration/TemplateSearchServiceIT.java +++ b/test-integration/src/test/java/com/vmware/admiral/test/integration/TemplateSearchServiceIT.java @@ -32,6 +32,7 @@ import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.Test; import com.vmware.admiral.adapter.registry.service.RegistrySearchResponse; @@ -172,6 +173,7 @@ public void testSearchImagesInRegistryFromAnotherProjectYieldsNoResults() throws assertEquals(0, searchResponse.results.size()); } + @Ignore("VBV-2777") @Test public void testSearchImagesWhenRegistriesAreDisabled() throws Exception { logger.info("Assert the default registry is there"); @@ -212,6 +214,7 @@ public void testSearchImagesWhenRegistriesAreDisabled() throws Exception { assertEquals(0, searchResponse.results.size()); } + @Ignore("VBV-2777") @Test public void testSearchImagesFromRegistriesWithSpecificPath() throws Exception { logger.info("Assert the default registry is there");