You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2020/12/22 03:29:00 UTC
[jira] [Updated] (KAFKA-10878)
testReadWhenOptionalDataMissingAtTheEndIsNotTolerated/testReadWithMissingNonOptionalExtraDataAtTheEnd
should check the error message
[ https://issues.apache.org/jira/browse/KAFKA-10878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai updated KAFKA-10878:
-----------------------------------
Labels: newbie (was: )
> 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
> 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)