[
https://issues.apache.org/jira/browse/HBASE-21416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16788379#comment-16788379
]
Hudson commented on HBASE-21416:
--------------------------------
Results for branch branch-2
[build #1739 on
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1739/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1739//General_Nightly_Build_Report/]
(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1739//JDK8_Nightly_Build_Report_(Hadoop2)/]
(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1739//JDK8_Nightly_Build_Report_(Hadoop3)/]
(x) {color:red}-1 source release artifact{color}
-- See build output for details.
(x) {color:red}-1 client integration test{color}
-- Something went wrong with this stage, [check relevant console
output|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1739//console].
> Intermittent TestRegionInfoDisplay failure due to shift in relTime of
> RegionState#toDescriptiveString
> -----------------------------------------------------------------------------------------------------
>
> Key: HBASE-21416
> URL: https://issues.apache.org/jira/browse/HBASE-21416
> Project: HBase
> Issue Type: Test
> Reporter: Ted Yu
> Assignee: Norbert Kalmar
> Priority: Minor
> Fix For: 3.0.0, 2.3.0
>
> Attachments: HBASE-21416.master.001.patch
>
>
> Over
> https://builds.apache.org/job/HBase-Flaky-Tests/job/branch-2.1/1799/testReport/junit/org.apache.hadoop.hbase.client/TestRegionInfoDisplay/testRegionDetailsForDisplay/
> :
> {code}
> org.junit.ComparisonFailure: expected:<...:30 UTC 2018 (PT0.00[6]S ago),
> server=null> but was:<...:30 UTC 2018 (PT0.00[7]S ago), server=null>
> at
> org.apache.hadoop.hbase.client.TestRegionInfoDisplay.testRegionDetailsForDisplay(TestRegionInfoDisplay.java:78)
> {code}
> Here is how toDescriptiveString composes relTime:
> {code}
> long relTime = System.currentTimeMillis() - stamp;
> {code}
> In the test, state.toDescriptiveString() is called twice for the assertion
> where different return values from System.currentTimeMillis() caused the
> assertion to fail in the above occasion.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)