jonyangx commented on code in PR #3127:
URL: 
https://github.com/apache/incubator-eventmesh/pull/3127#discussion_r1103789065


##########
eventmesh-common/src/test/java/org/apache/eventmesh/common/file/WatchFileManagerTest.java:
##########
@@ -53,6 +55,6 @@ public boolean support(FileChangeContext changeContext) {
         FileWriter fw = new FileWriter(file);
         properties.store(fw, "newAdd");
 
-        Thread.sleep(500);
+        ThreadUtils.sleep(500);

Review Comment:
    @mxsm sleep(long timeout)  should add @Deprecated annotation.
   repalce   sleep(long timeout)  with sleep(long timeout, TimeUnit timeUnit).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to