Skip to content

Commit

Permalink
[fix](regression) fix mow flaky case for cloud (apache#37865)
Browse files Browse the repository at this point in the history
## Proposed changes

Issue Number: close #xxx

the case `test_cloud_mow_delete_bitmap_calc_timeout` is flaky, it failed
due to the following exception
```
Exception:
java.sql.SQLException: errCode = 2, detailMessage = (127.0.0.1)[INTERNAL_ERROR]failed to initialize storage reader. tablet=532938472811, res=[INTERNAL_ERROR]{} does not need to read data
```
but the exception is injected by other case, I suspect these cases don't
clear the debug points for some unexpected reason.

to fix the flaky case, add a clear command at the first
  • Loading branch information
zhannngchen authored Jul 17, 2024
1 parent 167ffb9 commit 7a577fd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ suite("test_cloud_mow_delete_bitmap_calc_timeout","nonConcurrent") {
"""

GetDebugPoint().clearDebugPointsForAllFEs()
GetDebugPoint().clearDebugPointsForAllBEs()

try {
sql "insert into ${tableName} values(1,1,1,1,1),(2,2,2,2,2),(3,3,3,3,3);"
Expand Down

0 comments on commit 7a577fd

Please sign in to comment.