-
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
HBASE-25400 [Flakey Tests] branch-2 TestRegionMoveAndAbandon #2781
Conversation
🎊 +1 overall
This message was automatically generated. |
@@ -102,6 +102,7 @@ public void test() throws Exception { | |||
LOG.info("Killing RS {}", rs1.getServerName()); | |||
// Stop RS1 | |||
cluster.killRegionServer(rs1.getServerName()); | |||
UTIL.waitFor(30_000, () -> rs1.isStopped() && !rs1.isAlive()); |
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.
Would it be better to increase the following to 60seconds? If let's say rs1 is stopped immediately, but 30 seconds is not enough for namespace table to be online. Increase the following to 60 seconds will make sure that enough time is waited.
UTIL.waitTableAvailable(TableName.NAMESPACE_TABLE_NAME, 60_000);
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.
Let me commit w/. your suggestion @huaxiangsun
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
Merged manually w/ @huaxiangsun suggested added. |
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.
+1
No description provided.