This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 89afdd320c HDDS-10726. TestAuditParser.testLoadCommand fails with Java 
11+ (#6571)
89afdd320c is described below

commit 89afdd320c03d0d8ddb5cf90cef131dc7e533672
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Mon Apr 22 19:09:59 2024 +0200

    HDDS-10726. TestAuditParser.testLoadCommand fails with Java 11+ (#6571)
---
 .../test/java/org/apache/hadoop/ozone/audit/parser/TestAuditParser.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hadoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/audit/parser/TestAuditParser.java
 
b/hadoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/audit/parser/TestAuditParser.java
index 47f465383d..87e0eda9b5 100644
--- 
a/hadoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/audit/parser/TestAuditParser.java
+++ 
b/hadoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/audit/parser/TestAuditParser.java
@@ -192,7 +192,7 @@ public class TestAuditParser {
     Exception e =
         assertThrows(Exception.class, () -> execute(args1, ""));
     assertInstanceOf(ArrayIndexOutOfBoundsException.class, e.getCause());
-    assertThat(e.getMessage()).contains(": 5");
+    assertThat(e.getMessage()).contains(" 5");
   }
 
   /**


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to