javeme commented on code in PR #2643:
URL: 
https://github.com/apache/incubator-hugegraph/pull/2643#discussion_r1729788243


##########
hugegraph-server/hugegraph-test/src/main/java/org/apache/hugegraph/core/TaskCoreTest.java:
##########
@@ -686,7 +686,7 @@ private HugeTask<Object> runGremlinJob(String gremlin) {
     }
 
     private static void sleepAWhile() {
-        sleepAWhile(100);
+        sleepAWhile(1000);

Review Comment:
   Instead of modifying this sleepAWhile() method, can we also call 
`sleepAWhile(200 * 6)` in testGremlinJobAndCancel(), just like 
testGremlinJobAndRestore().
   The sleepAWhile() method may be called by many other places, which may not 
necessarily take so long. If we modify this method to 1000ms, it may 
significantly increase the time cost of TaskCoreTest.



-- 
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