Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10878

testReadWhenOptionalDataMissingAtTheEndIsNotTolerated/testReadWithMissingNonOptionalExtraDataAtTheEnd should check the error message

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0
    • None

    Description

      SchemaException e = assertThrows(SchemaException.class, () -> newSchema.read(buffer));
      e.getMessage().contains("Missing value for field 'field2' which has no default value");

      It does not use the assert check.

      Attachments

        Issue Links

          Activity

            People

              Geordie GeordieMai
              chia7712 Chia-Ping Tsai
              Chia-Ping Tsai Chia-Ping Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: