-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDDS-1998. TestSecureContainerServer#testClientServerRatisGrpc is fai… #1328
Conversation
/label ozone |
Thanks @pingsutw for working on this. The test while asserting the exception type to be of type IOException also needs to validate the underlying exception is StorageContainerException with code BLOCK_TOKEN_VERIFICATION_FAILURE. Can you please add this as well? |
💔 -1 overall
This message was automatically generated. |
@bshashikant thanks for the reply, but we can know StorageContainerException from ex.getMessage() |
@pingsutw unfortunately it's not available from the 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")); |
@adoroszlai Thanks for your help |
@bshashikant can you please review the updated patch?
|
Thanks @pingsutw for working on this. The change looks good to me. I am +1 on the change. |
💔 -1 overall
This message was automatically generated. |
…ling