diff --git a/common/src/test/java/org/apache/rocketmq/common/ServiceThreadTest.java b/common/src/test/java/org/apache/rocketmq/common/ServiceThreadTest.java index 70270ddb3ceee7e39cdc61bdeca0dfa6e314e0cd..24a4af89bc13f9f3869a8dc8d90c0d63f61be5c7 100644 --- a/common/src/test/java/org/apache/rocketmq/common/ServiceThreadTest.java +++ b/common/src/test/java/org/apache/rocketmq/common/ServiceThreadTest.java @@ -92,7 +92,7 @@ public class ServiceThreadTest { return "TestServiceThread"; } }; - testServiceThread.thread.setDaemon(daemon); + testServiceThread.setDaemon(daemon); // test start testServiceThread.start(); assertEquals(false, testServiceThread.isStopped());