From 280695d50aa770a7ac9331221bc14792bf9b23a0 Mon Sep 17 00:00:00 2001 From: Carles Arnal Date: Mon, 25 Nov 2024 10:42:43 +0100 Subject: [PATCH] Fix tests --- .../java/io/apicurio/tests/converters/RegistryConverterIT.java | 2 +- .../java/io/apicurio/tests/serdes/apicurio/AvroSerdeIT.java | 2 +- .../java/io/apicurio/tests/smokeTests/apicurio/ArtifactsIT.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integration-tests/src/test/java/io/apicurio/tests/converters/RegistryConverterIT.java b/integration-tests/src/test/java/io/apicurio/tests/converters/RegistryConverterIT.java index b897827f23..a6e9d0fd2b 100644 --- a/integration-tests/src/test/java/io/apicurio/tests/converters/RegistryConverterIT.java +++ b/integration-tests/src/test/java/io/apicurio/tests/converters/RegistryConverterIT.java @@ -72,7 +72,7 @@ public void cleanArtifacts() throws Exception { @Test public void testConfiguration() throws Exception { - String groupId = TestUtils.generateGroupId(); + String groupId = TestUtils.generateSubject(); String topic = TestUtils.generateArtifactId(); String recordName = "myrecord4"; AvroGenericRecordSchemaFactory schemaFactory = new AvroGenericRecordSchemaFactory(groupId, recordName, List.of("bar")); diff --git a/integration-tests/src/test/java/io/apicurio/tests/serdes/apicurio/AvroSerdeIT.java b/integration-tests/src/test/java/io/apicurio/tests/serdes/apicurio/AvroSerdeIT.java index 4599117377..29ac7b4a43 100644 --- a/integration-tests/src/test/java/io/apicurio/tests/serdes/apicurio/AvroSerdeIT.java +++ b/integration-tests/src/test/java/io/apicurio/tests/serdes/apicurio/AvroSerdeIT.java @@ -311,7 +311,7 @@ void evolveSchemaTest(boolean reuseClients) throws Exception { String topicName = TestUtils.generateTopic(); kafkaCluster.createTopic(topicName, 1, 1); - String recordNamespace = TestUtils.generateGroupId(); + String recordNamespace = TestUtils.generateSubject(); String recordName = TestUtils.generateSubject(); String schemaKey = "key1"; AvroGenericRecordSchemaFactory avroSchema = new AvroGenericRecordSchemaFactory(recordNamespace, recordName, List.of(schemaKey)); diff --git a/integration-tests/src/test/java/io/apicurio/tests/smokeTests/apicurio/ArtifactsIT.java b/integration-tests/src/test/java/io/apicurio/tests/smokeTests/apicurio/ArtifactsIT.java index bf7e5df7f0..24574655dd 100644 --- a/integration-tests/src/test/java/io/apicurio/tests/smokeTests/apicurio/ArtifactsIT.java +++ b/integration-tests/src/test/java/io/apicurio/tests/smokeTests/apicurio/ArtifactsIT.java @@ -132,7 +132,7 @@ void createAndUpdateArtifact() throws Exception { @Test void createAndDeleteMultipleArtifacts() throws Exception { LOGGER.info("Creating some artifacts..."); - String groupId = TestUtils.generateGroupId(); + String groupId = TestUtils.generateSubject(); List artifacts = IntStream.range(0, 10) .mapToObj(i -> {