Skip to content

Commit

Permalink
temp: temporarily disable kubernetes client JUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
manusa committed Dec 9, 2024
1 parent 3c7ad8a commit 3ec09f3
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import io.fabric8.junit.jupiter.api.KubernetesTest;
import io.fabric8.kubernetes.api.model.Pod;
import io.fabric8.kubernetes.client.KubernetesClient;
import io.fabric8.kubernetes.client.KubernetesClientBuilder;
import org.eclipse.jkube.integrationtests.JKubeCase;

import java.io.File;
Expand All @@ -32,7 +33,7 @@
import static org.hamcrest.Matchers.hasSize;
import static org.hamcrest.Matchers.not;

@KubernetesTest(createEphemeralNamespace = false)
//@KubernetesTest(createEphemeralNamespace = false)
abstract class ZeroConfig implements JKubeCase {

protected static final String MAVEN_APPLICATION = "spring-boot-zero-config";
Expand All @@ -43,7 +44,8 @@ abstract class ZeroConfig implements JKubeCase {

@Override
public KubernetesClient getKubernetesClient() {
return kubernetesClient;
// TODO: REMOVE
return new KubernetesClientBuilder().build();
}

final Pod assertThatShouldApplyResources() throws Exception {
Expand Down

0 comments on commit 3ec09f3

Please sign in to comment.