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
HDFS-15654. TestBPOfferService#testMissBlocksWhenReregister fails intermittently #2419
Conversation
💔 -1 overall
This message was automatically generated. |
@@ -280,26 +282,24 @@ public void testBasicFunctionality() throws Exception { | |||
*/ | |||
@Test | |||
public void testMissBlocksWhenReregister() throws Exception { | |||
|
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.
Remove this extra line added.
LOG.error("Timed out wait for IBR counts FBRCount = {}," | ||
+ " IBRCount = {}; expected = {}", | ||
fullBlockReportCount, incrBlockReportCount, totalTestBlocks); | ||
Assert.fail(); |
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.
You might want to put the previous log message in the fail().
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.
And do the static import of fail() as the other assertEquals() and so on.
💔 -1 overall
This message was automatically generated. |
d05e70d
to
f22a94a
Compare
This LGTM. @amahussein good to merge? |
yes, this is good to go. Thanks @goiri |
💔 -1 overall
This message was automatically generated. |
…ermittently (apache#2419) (cherry picked from commit 3248791)
…ermittently
NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute