From 413492583d856bc6fd6acb4e0544d5b153ecb2a8 Mon Sep 17 00:00:00 2001 From: Radim Kubis Date: Sun, 15 Dec 2024 17:56:19 +0100 Subject: [PATCH] New(pom.xml): API v3 test profile --- pom.xml | 7 +++++++ .../io/apicurio/registry/systemtests/api/APITests.java | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/pom.xml b/pom.xml index 23f684253..22eec38d2 100644 --- a/pom.xml +++ b/pom.xml @@ -460,6 +460,13 @@ false + + api-v3 + + api & v3 + false + + diff --git a/src/test/java/io/apicurio/registry/systemtests/api/APITests.java b/src/test/java/io/apicurio/registry/systemtests/api/APITests.java index 52962f1d2..6f1d8915a 100644 --- a/src/test/java/io/apicurio/registry/systemtests/api/APITests.java +++ b/src/test/java/io/apicurio/registry/systemtests/api/APITests.java @@ -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 */ @@ -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); } @@ -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); } @@ -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); }