This is an automated email from the ASF dual-hosted git repository.

lhotari pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit d8dbb09eed270ff38cfe1e6e3bb1be1b9c443332
Author: Lari Hotari <[email protected]>
AuthorDate: Fri May 15 16:32:03 2026 +0300

    [fix][test][branch-333.0] Fix AvroSchemaTest cases that were invalid
    
    The invalid test was removed by #24617 for Pulsar 4.1.0
---
 .../java/org/apache/pulsar/client/impl/schema/AvroSchemaTest.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/pulsar-client/src/test/java/org/apache/pulsar/client/impl/schema/AvroSchemaTest.java
 
b/pulsar-client/src/test/java/org/apache/pulsar/client/impl/schema/AvroSchemaTest.java
index 4cbc6402bdf..9afda09a2db 100644
--- 
a/pulsar-client/src/test/java/org/apache/pulsar/client/impl/schema/AvroSchemaTest.java
+++ 
b/pulsar-client/src/test/java/org/apache/pulsar/client/impl/schema/AvroSchemaTest.java
@@ -508,8 +508,8 @@ public class AvroSchemaTest {
                 .withJSR310ConversionEnabled(false).build());
 
         TimestampPojo decodeWithJsonNoClassLoader = 
schemaWithJsonDefNoClassLoader.decode(encode);
-        Assert.assertNotEquals(decodeWithJsonNoClassLoader, decodeWithPojo);
-        Assert.assertNotEquals(Instant.class, 
decodeWithJsonNoClassLoader.getValue().getClass());
+        Assert.assertEquals(decodeWithJsonNoClassLoader, decodeWithPojo);
+        Assert.assertEquals(Instant.class, 
decodeWithJsonNoClassLoader.getValue().getClass());
     }
 
     @Test
@@ -540,8 +540,8 @@ public class AvroSchemaTest {
                 .withJSR310ConversionEnabled(true).build());
 
         TimestampPojo decodeWithJsonNoClassLoader = 
schemaWithJsonDefNoClassLoader.decode(encode);
-        Assert.assertNotEquals(decodeWithJsonNoClassLoader, decodeWithPojo);
-        Assert.assertNotEquals(Instant.class, 
decodeWithJsonNoClassLoader.getValue().getClass());
+        Assert.assertEquals(decodeWithJsonNoClassLoader, decodeWithPojo);
+        Assert.assertEquals(Instant.class, 
decodeWithJsonNoClassLoader.getValue().getClass());
     }
 
     @Data

Reply via email to