[ https://issues.apache.org/jira/browse/KAFKA-10878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
GeordieMai reassigned KAFKA-10878: ---------------------------------- Assignee: GeordieMai > testReadWhenOptionalDataMissingAtTheEndIsNotTolerated/testReadWithMissingNonOptionalExtraDataAtTheEnd > should check the error message > ------------------------------------------------------------------------------------------------------------------------------------ > > Key: KAFKA-10878 > URL: https://issues.apache.org/jira/browse/KAFKA-10878 > Project: Kafka > Issue Type: Improvement > Reporter: Chia-Ping Tsai > Assignee: GeordieMai > Priority: Major > Labels: newbie > > {quote} > SchemaException e = assertThrows(SchemaException.class, () -> > newSchema.read(buffer)); > e.getMessage().contains("Missing value for field 'field2' which has no > default value"); > {quote} > It does not use the assert check. -- This message was sent by Atlassian Jira (v8.3.4#803005)