[
https://issues.apache.org/jira/browse/RANGER-5153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj resolved RANGER-5153.
--------------------------------------
Fix Version/s: 3.0.0
2.7.0
Resolution: Fixed
master branch:
{noformat}
commit 324d5dbcaac0b9a5147c7f2d72c18cffd70b7b03 (HEAD -> master, origin/master,
origin/HEAD)
Author: Madhan Neethiraj <[email protected]>
Date: Fri Feb 21 20:11:41 2025 -0800
RANGER-5153: fix for intermittent unit test failure in
RangerJSONAuditWriterTest (#536)
{noformat}
ranger-2.7 branch:
{noformat}
commit aaaef8fd554c48cbde9528c64891cfb5f9978bf3 (HEAD -> ranger-2.7,
origin/ranger-2.7)
Author: Madhan Neethiraj <[email protected]>
Date: Fri Feb 21 20:11:41 2025 -0800
RANGER-5153: fix for intermittent unit test failure in
RangerJSONAuditWriterTest (#536)
(cherry picked from commit 324d5dbcaac0b9a5147c7f2d72c18cffd70b7b03)
{noformat}
> Intermitent test failure in RangerJSONAuditWriterTest
> -----------------------------------------------------
>
> Key: RANGER-5153
> URL: https://issues.apache.org/jira/browse/RANGER-5153
> Project: Ranger
> Issue Type: Bug
> Components: audit
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
> Fix For: 3.0.0, 2.7.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Following unit test failure is seen in multiple CI runs, example:
> https://github.com/apache/ranger/actions/runs/13467245348/job/37635431509
> {noformat}
> java.lang.AssertionError: expected null, but
> was:<FSDataOutputStream{wrappedStream=org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSOutputSummer@4ed761dc}>
> at org.junit.Assert.fail(Assert.java:89)
> at org.junit.Assert.failNotNull(Assert.java:756)
> at org.junit.Assert.assertNull(Assert.java:738)
> at org.junit.Assert.assertNull(Assert.java:748)
> at
> org.apache.ranger.audit.utils.RangerJSONAuditWriterTest.checkFileRolloverAfterThreshold(RangerJSONAuditWriterTest.java:116)
> at java.lang.reflect.Method.invoke(Method.java:498)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)