Xiaoyu Yao created HDFS-10572:
---------------------------------
Summary: Fix TestOfflineEditsViewer#testGenerated
Key: HDFS-10572
URL: https://issues.apache.org/jira/browse/HDFS-10572
Project: Hadoop HDFS
Issue Type: Bug
Components: newbie, test
Reporter: Xiaoyu Yao
The test has been failing consistently on trunk recently. This ticket is open
to fix this test to avoid false alarm on Jenkins. Figure out which recent
commit caused this failure can be a good start.
{code}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.hadoop.hdfs.tools.offlineEditsViewer.TestOfflineEditsViewer
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.646 sec <<<
FAILURE! - in
org.apache.hadoop.hdfs.tools.offlineEditsViewer.TestOfflineEditsViewer
testGenerated(org.apache.hadoop.hdfs.tools.offlineEditsViewer.TestOfflineEditsViewer)
Time elapsed: 3.623 sec <<< FAILURE!
java.lang.AssertionError: Generated edits and reparsed (bin to XML to bin)
should be same
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at
org.apache.hadoop.hdfs.tools.offlineEditsViewer.TestOfflineEditsViewer.testGenerated(TestOfflineEditsViewer.java:125)
Results :
Failed tests:
TestOfflineEditsViewer.testGenerated:125 Generated edits and reparsed (bin to
XML to bin) should be same
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]