Attila Doroszlai created HDDS-10726:
---------------------------------------
Summary: TestAuditParser.testLoadCommand fails with Java 11+
Key: HDDS-10726
URL: https://issues.apache.org/jira/browse/HDDS-10726
Project: Apache Ozone
Issue Type: Sub-task
Components: test
Reporter: Attila Doroszlai
{code}
[ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.31 s
<<< FAILURE! - in org.apache.hadoop.ozone.audit.parser.TestAuditParser
[ERROR] org.apache.hadoop.ozone.audit.parser.TestAuditParser.testLoadCommand
Time elapsed: 0.01 s <<< FAILURE!
java.lang.AssertionError:
Expecting:
<"Error while calling command
(org.apache.hadoop.ozone.audit.parser.handler.LoadCommandHandler@266374ef):
java.lang.ArrayIndexOutOfBoundsException: Index 5 out of bounds for length 5">
to contain:
<": 5">
at
org.apache.hadoop.ozone.audit.parser.TestAuditParser.testLoadCommand(TestAuditParser.java:195)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]