HDFS-4055. TestAuditLogs is flaky. Contributed by Binglin Chang
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1399093 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ab727f4966
commit
24015b7684
|
@ -461,6 +461,8 @@ Release 2.0.3-alpha - Unreleased
|
|||
HDFS-3997. OfflineImageViewer incorrectly passes value of imageVersion when
|
||||
visiting IS_COMPRESSED element. (Mithun Radhakrishnan via atm)
|
||||
|
||||
HDFS-4055. TestAuditLogs is flaky. (Binglin Chang via eli)
|
||||
|
||||
Release 2.0.2-alpha - 2012-09-07
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -117,7 +117,7 @@ public class TestAuditLogs {
|
|||
int val = istream.read();
|
||||
istream.close();
|
||||
verifyAuditLogs(true);
|
||||
assertTrue("failed to read from file", val > 0);
|
||||
assertTrue("failed to read from file", val >= 0);
|
||||
}
|
||||
|
||||
/** test that allowed stat puts proper entry in audit log */
|
||||
|
@ -168,7 +168,7 @@ public class TestAuditLogs {
|
|||
istream.close();
|
||||
|
||||
verifyAuditLogsRepeat(true, 3);
|
||||
assertTrue("failed to read from file", val > 0);
|
||||
assertTrue("failed to read from file", val >= 0);
|
||||
}
|
||||
|
||||
/** test that stat via webhdfs puts proper entry in audit log */
|
||||
|
|
Loading…
Reference in New Issue