You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "GeordieMai (Jira)" <ji...@apache.org> on 2020/12/22 03:32:00 UTC

[jira] [Commented] (KAFKA-10878) testReadWhenOptionalDataMissingAtTheEndIsNotTolerated/testReadWithMissingNonOptionalExtraDataAtTheEnd should check the error message

    [ https://issues.apache.org/jira/browse/KAFKA-10878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17253253#comment-17253253 ] 

GeordieMai commented on KAFKA-10878:
------------------------------------

[~chia7712] can I take this ? 

> 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)