HDFS-10449. TestRollingFileSystemSinkWithHdfs#testFailedClose() fails on branch-2. Contributed by Takanobu Asanuma.

This commit is contained in:
Akira Ajisaka 2016-06-03 03:08:22 +09:00
parent 384a84828f
commit cbf6cacf64
1 changed files with 2 additions and 2 deletions

View File

@ -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 {