adoroszlai commented on issue #1328: HDDS-1998. 
TestSecureContainerServer#testClientServerRatisGrpc is fai…
URL: https://github.com/apache/hadoop/pull/1328#issuecomment-524756845
 
 
   @pingsutw unfortunately it's not available from the `IOException`; 
`rootCause` is a `StateMachineException` and only its message refers to the 
`StorageContainerException`.
   
   ```java
           IOException e = LambdaTestUtils.intercept(IOException.class,
               () -> finalClient.sendCommand(request));
           Throwable rootCause = ExceptionUtils.getRootCause(e);
           String msg = rootCause.getMessage();
           assertTrue(msg, msg.contains("Block token verification failed"));
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to