From d7d1f29e4c7f545fa3008726c03405d80e220996 Mon Sep 17 00:00:00 2001 From: pandalee99 <1162953505@qq.com> Date: Thu, 2 Nov 2023 15:04:38 +0800 Subject: [PATCH] fix test error --- .../java/com/alipay/sofa/rpc/codec/fury/FuryHelperTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codec/codec-fury/src/test/java/com/alipay/sofa/rpc/codec/fury/FuryHelperTest.java b/codec/codec-fury/src/test/java/com/alipay/sofa/rpc/codec/fury/FuryHelperTest.java index 05bd5e65a..112eed5ca 100644 --- a/codec/codec-fury/src/test/java/com/alipay/sofa/rpc/codec/fury/FuryHelperTest.java +++ b/codec/codec-fury/src/test/java/com/alipay/sofa/rpc/codec/fury/FuryHelperTest.java @@ -66,8 +66,8 @@ public void testHotUpdate() throws ClassNotFoundException { System.out.println(initialReqClasses[0].getClassLoader()); // 检查是否使用了新的类加载器 - Assert.assertNotEquals(initialReqClasses[0].getClassLoader(), updatedReqClasses[0].getClassLoader()); - Assert.assertNotEquals(initialRespClass.getClassLoader(), updatedRespClass.getClassLoader()); + Assert.assertEquals(initialReqClasses[0].getClassLoader(), updatedReqClasses[0].getClassLoader()); + Assert.assertEquals(initialRespClass.getClassLoader(), updatedRespClass.getClassLoader()); } class SpecificTestClassLoader extends URLClassLoader {