Skip to content

Commit

Permalink
New(pom.xml): API v3 test profile
Browse files Browse the repository at this point in the history
  • Loading branch information
rkubis committed Dec 15, 2024
1 parent ad8479d commit 4134925
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,13 @@
<skip.tests>false</skip.tests>
</properties>
</profile>
<profile>
<id>api-v3</id>
<properties>
<groups>api &amp; v3</groups>
<skip.tests>false</skip.tests>
</properties>
</profile>

<!-- deploy tests -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.junit.jupiter.api.TestInstance;

@TestInstance(TestInstance.Lifecycle.PER_CLASS)
@Tag("api")
public abstract class APITests extends TestBase {
/* TEST RUNNERS */

Expand Down Expand Up @@ -53,6 +54,7 @@ protected void runCreateArtifactTest(
@Test
@Tag("sql")
@Tag("debug-v3")
@Tag("v3")
public void testRegistrySqlNoIAMCreateReadUpdateDelete() throws InterruptedException {
runCreateReadUpdateDeleteTest(PersistenceKind.SQL, null, false);
}
Expand All @@ -61,6 +63,7 @@ public void testRegistrySqlNoIAMCreateReadUpdateDelete() throws InterruptedExcep
@Tag("interop")
@Tag("smoke")
@Tag("sql")
@Tag("v3")
public void testRegistrySqlKeycloakCreateReadUpdateDelete() throws InterruptedException {
runCreateReadUpdateDeleteTest(PersistenceKind.SQL, null, true);
}
Expand All @@ -83,12 +86,14 @@ public void testRegistrySqlKeycloakCreateArtifact() throws InterruptedException
@Test
@Tag("kafkasql")
@Tag("debug-v3")
@Tag("v3")
public void testRegistryKafkasqlNoAuthNoIAMCreateReadUpdateDelete() throws InterruptedException {
runCreateReadUpdateDeleteTest(PersistenceKind.KAFKA_SQL, KafkaKind.NO_AUTH, false);
}

@Test
@Tag("kafkasql")
@Tag("v3")
public void testRegistryKafkasqlNoAuthKeycloakCreateReadUpdateDelete() throws InterruptedException {
runCreateReadUpdateDeleteTest(PersistenceKind.KAFKA_SQL, KafkaKind.NO_AUTH, true);
}
Expand Down

0 comments on commit 4134925

Please sign in to comment.