You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/09/28 13:04:22 UTC

[GitHub] [rocketmq] wqliang opened a new issue #1495: unit test in DefaultLitePullConsumerTest sometimes fail

wqliang opened a new issue #1495: unit test in DefaultLitePullConsumerTest sometimes fail
URL: https://github.com/apache/rocketmq/issues/1495
 
 
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   `testSeek_SeekOffsetSuccess` in DefaultLitePullConsumerTest sometimes failed.
   
   Failed tests: 
   DefaultLitePullConsumerTest.testSeek_SeekOffsetSuccess:188 expected:<-1> but was:<123>
   
   - What did you do (The steps to reproduce)?
   1\open a pull request then trigger CI;
   2\just run unit test of DefaultLitePullConsumerTest 
   
   - What did you expect to see?
   
   - What did you see instead?
   
   2. Please tell us about your environment:
   
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
   I added some log where `seekOffset ` was set and found that the value was set to 123 by thread `PullMsgThread-` and then set to -1 by `main`.
   
   

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


With regards,
Apache Git Services