justinmclean opened a new issue, #7516:
URL: https://github.com/apache/gravitino/issues/7516

   ### What would you like to be improved?
   
   Add these tests to TestNamespace causes test failures:
   ```
     @Test
     public void testFromString() {
       Assertions.assertEquals(Namespace.empty(), Namespace.fromString(""));
       Assertions.assertEquals(Namespace.of("a", "b"), 
Namespace.fromString("a.b"));
       Assertions.assertEquals(Namespace.of("a"), Namespace.fromString("a"));
     }
   
     @Test
     public void testFromStringInvalidArgs() {
       Assertions.assertThrows(IllegalArgumentException.class, () -> 
Namespace.fromString(null));
       Assertions.assertThrows(IllegalArgumentException.class, () -> 
Namespace.fromString(".a"));
       Assertions.assertThrows(IllegalArgumentException.class, () -> 
Namespace.fromString("a."));
       Assertions.assertThrows(IllegalArgumentException.class, () -> 
Namespace.fromString("a..b"));
     }
   ```
   
   ### How should we improve?
   
   Fix fromString in Namespace.java so that the tests pass.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to