HDFS-10449. TestRollingFileSystemSinkWithHdfs#testFailedClose() fails on branch-2. Contributed by Takanobu Asanuma.
This commit is contained in:
parent
384a84828f
commit
cbf6cacf64
|
@ -187,8 +187,8 @@ public class TestRollingFileSystemSinkWithHdfs
|
|||
try {
|
||||
ms.stop();
|
||||
|
||||
fail("No exception was generated while stopping sink "
|
||||
+ "even though HDFS was unavailable");
|
||||
assertTrue("No exception was generated while stopping sink "
|
||||
+ "even though HDFS was unavailable", MockSink.errored);
|
||||
} catch (MetricsException ex) {
|
||||
// Expected
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue