Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
Signed-off-by: David Kornel <[email protected]>
  • Loading branch information
kornys committed Feb 29, 2024
1 parent 047703d commit 972009c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test-frame-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,6 @@
</build>

<profiles>
<profile>
<id>none</id>
<properties>
<it.skip>true</it.skip>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>

<profile>
<id>integration</id>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import io.skodjob.testframe.annotations.TestVisualSeparator;
import io.skodjob.testframe.clients.KubeClusterException;
import io.skodjob.testframe.resources.ResourceManager;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
Expand All @@ -34,6 +35,12 @@ void setupEach() {
new NamespaceBuilder().withNewMetadata().withName("test2").endMetadata().build());
}

@AfterAll
void afterAll() {
assertNull(ResourceManager.getKubeClient().getClient().namespaces().withName("test2").get());
assertNull(ResourceManager.getKubeClient().getClient().namespaces().withName("test3").get());
}

@Test
void createResource() {
ResourceManager.getInstance().createResourceWithWait(
Expand Down

0 comments on commit 972009c

Please sign in to comment.