You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/02/25 08:13:01 UTC

[GitHub] [pulsar] WJL3333 commented on a change in pull request #9665: [MINOR] attempt to fix `ReplicatorTest.testResetCursorNotFail` timeout in github CI

WJL3333 commented on a change in pull request #9665:
URL: https://github.com/apache/pulsar/pull/9665#discussion_r582623760



##########
File path: pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ReplicatorTest.java
##########
@@ -517,7 +518,7 @@ public void testResetCursorNotFail() throws Exception {
 
         consumer1.receive(2);
 
-        admin1.topics().resetCursor(dest.toString(), "sub-id", System.currentTimeMillis());
+        admin1.topics().resetCursor(dest.toString(), "sub-id", MessageId.latest);

Review comment:
       yes, i think the ci env has resource problem which can cause gc or pause to make TimeoutException.
   will close this pr :- )




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org