Skip to content

Commit

Permalink
Fix unit test for cherry-picked 573bf6d
Browse files Browse the repository at this point in the history
  • Loading branch information
shibd authored and nodece committed Jun 7, 2024
1 parent 4a2fb34 commit bce9be0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import static org.testng.Assert.assertTrue;
import static org.testng.Assert.fail;
import com.google.common.collect.Sets;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
Expand Down Expand Up @@ -420,11 +421,10 @@ public void testGetSchemaCompatibilityStrategyWhenSetBrokerLevelAndSchemaAutoUpd

@Test
public void testCompatibilityWithEmpty() throws Exception {
List<Schema<?>> checkSchemas = List.of(
List<Schema<?>> checkSchemas = Arrays.asList(
Schema.STRING,
Schema.JSON(SchemaDefinition.builder().withPojo(Foo.class).withProperties(PROPS).build()),
Schema.AVRO(SchemaDefinition.builder().withPojo(Foo.class).withProperties(PROPS).build()),
Schema.KeyValue(Schema.STRING, Schema.STRING)
Schema.AVRO(SchemaDefinition.builder().withPojo(Foo.class).withProperties(PROPS).build())
);
for (Schema<?> schema : checkSchemas) {
SchemaInfo schemaInfo = schema.getSchemaInfo();
Expand Down

0 comments on commit bce9be0

Please sign in to comment.