Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1943,8 +1943,12 @@ public RpcStatusProto getRpcStatusProto() {
proxy.ping(null, newEmptyRequest());
fail(reqName + " didn't fail");
} catch (ServiceException e) {
RemoteException re = (RemoteException)e.getCause();
assertEquals(expectedIOE, re.unwrapRemoteException(), reqName);
if (e.getCause() instanceof RemoteException) {
RemoteException re = (RemoteException)e.getCause();
assertEquals(expectedIOE, re.unwrapRemoteException(), reqName);
} else {
throw e;
}
}
// check authorizations to ensure new connection when expected,
// then conclusively determine if connections are disconnected
Expand Down
Loading