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

dinglei pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/develop by this push:
     new 05c0b95  Fix unit test error in ServiceThreadTest
05c0b95 is described below

commit 05c0b95bcaa7460de9faaad5927f003a1279cf6f
Author: ShannonDing <[email protected]>
AuthorDate: Tue May 14 19:53:40 2019 +0800

    Fix unit test error in ServiceThreadTest
---
 common/src/test/java/org/apache/rocketmq/common/ServiceThreadTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 70270dd..24a4af8 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());

Reply via email to