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/06/27 01:51:22 UTC

[GitHub] [pulsar] mattisonchao opened a new pull request #11118: [ Tests ] Fixed Wrong TimeUnit

mattisonchao opened a new pull request #11118:
URL: https://github.com/apache/pulsar/pull/11118


   ### Motivation
   
   I think it wrong time unit .
   ```java
     Awaitility.await().atMost(2000, TimeUnit.SECONDS).until(() -> {
               try {
                   TxnMeta txnMeta = pulsar.getTransactionMetadataStoreService()
                           .getStores().get(transactionCoordinatorIDOne).getTxnMeta(txnID).get();
               } catch (Exception e) {
                   return true;
               }
               return false;
           });
   ```
   
   ### Modifications
   
   - Change `timeUnit` SECONDS to MILLISECONDS


-- 
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: commits-unsubscribe@pulsar.apache.org

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



[GitHub] [pulsar] codelipenghui merged pull request #11118: [ Tests ] Fixed Wrong TimeUnit

Posted by GitBox <gi...@apache.org>.
codelipenghui merged pull request #11118:
URL: https://github.com/apache/pulsar/pull/11118


   


-- 
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: commits-unsubscribe@pulsar.apache.org

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



[GitHub] [pulsar] codelipenghui merged pull request #11118: [ Tests ] Fixed Wrong TimeUnit

Posted by GitBox <gi...@apache.org>.
codelipenghui merged pull request #11118:
URL: https://github.com/apache/pulsar/pull/11118


   


-- 
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: commits-unsubscribe@pulsar.apache.org

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