Skip to content

Commit

Permalink
[ISSUE #7614] Fix flaky test RocksDBMessageStoreTest (#7625)
Browse files Browse the repository at this point in the history
* fix #7614 Flaky test RocksDBMessageStoreTest

Signed-off-by: lizhanhui <[email protected]>

* fix: give TimerMessageStoreTest#testStateAndRecover more time for Awaitability to poll and check

Signed-off-by: lizhanhui <[email protected]>

* clean up exclude test list of bazel

Signed-off-by: lizhanhui <[email protected]>

---------

Signed-off-by: lizhanhui <[email protected]>
  • Loading branch information
lizhanhui authored Dec 11, 2023
1 parent faae647 commit bcc9db5
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 76 deletions.
4 changes: 2 additions & 2 deletions store/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ java_library(
GenTestRules(
name = "GeneratedTestRules",
exclude_tests = [
# This test is extremely slow and flaky, exclude it.
# These tests are extremely slow and flaky, exclude them before they are properly fixed.
"src/test/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHATest",
"src/test/java/org/apache/rocketmq/store/RocksDBMessageStoreTest",
],
medium_tests = [
"src/test/java/org/apache/rocketmq/store/DefaultMessageStoreTest",
Expand All @@ -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",
],
test_files = glob(["src/test/java/**/*Test.java"]),
deps = [
Expand Down
Loading

0 comments on commit bcc9db5

Please sign in to comment.