Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AVRO-3999 - Avoid warnings in Perl test suite #2953

Merged
merged 2 commits into from
Jun 12, 2024

Commits on Jun 11, 2024

  1. Add error message when schema do not match in Perl

    When the schema did not match in a call to Avro::BinaryDecoder::decode,
    a Avro::Schema::Error::Mismatch error was thrown without a body. This
    was generating a warning when trying to stringify an undefined value,
    and resulted in the empty string being used as the error message, which
    was not veryb informative.
    
    This change adds a message which should solve both issues.
    jjatria committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    c8832a7 View commit details
    Browse the repository at this point in the history
  2. Do not exit sub via next in Perl tests

    This silences a loud warning in xt/schema.t
    jjatria committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    84c4412 View commit details
    Browse the repository at this point in the history