-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Amend HBASE-26187 UTs, adding a check for Split procedure completion … #3598
Conversation
…before proceeding with test logic. Change-Id: I9a8066aa5c0f646d6e147ded1f09588a97ebe1ec
List<Procedure<?>> procedures = TEST_UTIL.getHBaseCluster().getMaster().getProcedures(); | ||
if(procedures.size()>0) { | ||
Procedure splitProc = procedures.stream(). | ||
filter(p -> p instanceof SplitTableRegionProcedure).findFirst().get(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had to modify this logic a bit. The branch-2 version is wrong, leading to NoSuchElement when the first proc is not a split one. I will cherry-pick this once it gets merged.
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
The failed tests are passing, locally. |
🎊 +1 overall
This message was automatically generated. |
…before proceeding with test logic. (apache#3598) Signed-off-by: Duo Zhang <zhangduo@apache.org> Change-Id: Ieaf12fb87b73e573f59276c2be07d326531561bd
…before proceeding with test logic.