From 8c476abe5cf664a00774c0656cd49124bd85e5b0 Mon Sep 17 00:00:00 2001 From: David Kornel Date: Tue, 10 Aug 2021 09:44:03 +0200 Subject: [PATCH] Remove gh api unit tests (#473) --- .../test/java/org/bf2/systemtest/unit/SuiteUnitTest.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/systemtest/src/test/java/org/bf2/systemtest/unit/SuiteUnitTest.java b/systemtest/src/test/java/org/bf2/systemtest/unit/SuiteUnitTest.java index 8f6d9c1a2..a4e66b4a2 100644 --- a/systemtest/src/test/java/org/bf2/systemtest/unit/SuiteUnitTest.java +++ b/systemtest/src/test/java/org/bf2/systemtest/unit/SuiteUnitTest.java @@ -14,7 +14,6 @@ import io.quarkus.test.kubernetes.client.KubernetesTestServer; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; -import org.bf2.systemtest.api.github.GithubApiClient; import org.bf2.systemtest.framework.KeycloakInstance; import org.bf2.systemtest.framework.ParallelTest; import org.bf2.systemtest.framework.SecurityUtils; @@ -30,10 +29,8 @@ import java.util.Base64; import java.util.List; import java.util.Map; -import java.util.concurrent.ExecutionException; import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; @@ -134,9 +131,4 @@ void testKeycloakInstance() { assertEquals("admin", k.getPassword()); assertNotNull(k.getKeycloakCert()); } - - @ParallelTest - void testGithubApiClient() throws ExecutionException, InterruptedException { - assertNotEquals(0, GithubApiClient.getReleases("strimzi", "strimzi-kafka-operator").length); - } }