NesaraK commented on issue #22470:
URL: https://github.com/apache/pulsar/issues/22470#issuecomment-2107411865

   The issue was related to the unit testing framework's handling of schema 
changes. Previously, tests would fail whenever there was a schema change due to 
lack of proper error handling.
   The solution was to restart the server for every test case.
   In the latest branch (3.3), the issue has been resolved by introducing 
try-catch and finally blocks for better error handling within the unit tests.
   While the fix in branch 3.3 addresses the immediate issue, consider 
implementing the following improvements: Use separate topics for each test case 
to avoid interference due to schema changes.
   If two different schemas (e.g., JSON and Avro) were uploaded on different 
topics, the tests would have passed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to