Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE #7614] Fix flaky test RocksDBMessageStoreTest #7625

Merged
merged 3 commits into from
Dec 11, 2023

Conversation

lizhanhui
Copy link
Contributor

Which Issue(s) This PR Fixes

Fixes #7614

Brief Description

How Did You Test This Change?

bazel test --config=remote  //store:src/test/java/org/apache/rocketmq/store/RocksDBMessageStoreTest --runs_per_test=1024

Verify there is no failures anymore.

@lizhanhui lizhanhui force-pushed the fix_flaky_test_7614 branch from 73500e7 to 527afa2 Compare December 8, 2023 04:49
@lizhanhui lizhanhui changed the title [ISSUE 7614] Fix flaky test RocksDBMessageStoreTest [ISSUE #7614] Fix flaky test RocksDBMessageStoreTest Dec 8, 2023
@codecov-commenter
Copy link

codecov-commenter commented Dec 8, 2023

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (c2c29c2) 43.20% compared to head (52f7a2d) 43.17%.
Report is 1 commits behind head on develop.

Files Patch % Lines
...apache/rocketmq/store/timer/TimerMessageStore.java 20.00% 4 Missing ⚠️
...apache/rocketmq/broker/slave/SlaveSynchronize.java 0.00% 3 Missing ⚠️
...pache/rocketmq/common/message/MessageAccessor.java 0.00% 3 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #7625      +/-   ##
=============================================
- Coverage      43.20%   43.17%   -0.03%     
+ Complexity      9796     9795       -1     
=============================================
  Files           1164     1164              
  Lines          84420    84428       +8     
  Branches       10961    10963       +2     
=============================================
- Hits           36474    36456      -18     
- Misses         43420    43446      +26     
  Partials        4526     4526              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lizhanhui lizhanhui requested a review from lizhimins December 8, 2023 13:59
@@ -80,6 +79,7 @@ GenTestRules(
"src/test/java/org/apache/rocketmq/store/MappedFileQueueTest",
"src/test/java/org/apache/rocketmq/store/queue/BatchConsumeMessageTest",
"src/test/java/org/apache/rocketmq/store/dledger/MixCommitlogTest",
"src/test/java/org/apache/rocketmq/store/RocksDBMessageStoreTest",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果已经修复了,还需要exclude嘛

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个不是exclude,是定义medium size test: https://bazel.build/reference/test-encyclopedia#role-test-runner

@RongtongJin RongtongJin merged commit bcc9db5 into apache:develop Dec 11, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Flaky Test RocksDBMessageStoreTest.testMaxOffset
4 participants