You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2021/01/10 07:11:00 UTC

[jira] [Resolved] (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 resolved KAFKA-10878.
------------------------------------
    Fix Version/s: 2.8.0
         Reviewer: Chia-Ping Tsai
       Resolution: Fixed

> 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
>             Fix For: 2.8.0
>
>
> {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)