diff --git a/filter/src/test/java/org/apache/rocketmq/filter/FilterSpiTest.java b/filter/src/test/java/org/apache/rocketmq/filter/FilterSpiTest.java index bfbddf49135..25f8cfdecb8 100644 --- a/filter/src/test/java/org/apache/rocketmq/filter/FilterSpiTest.java +++ b/filter/src/test/java/org/apache/rocketmq/filter/FilterSpiTest.java @@ -68,6 +68,7 @@ public void testRegister() { e.printStackTrace(); assertThat(Boolean.FALSE).isTrue(); } + FilterFactory.INSTANCE.unRegister("Nothing"); } @Test