Skip to content

Commit bd0e7bb

Browse files
rmdmattinglyeab148Evie Boland
authored andcommitted
HBASE-28842 TestRequestAttributes should fail when expected (#6255) (#6268)
Signed-off-by: Ray Mattingly <rmattingly@apache.org> Signed-off-by: Nick Dimiduk <ndimiduk@apache.org> Co-authored-by: eab148 <54775485+eab148@users.noreply.github.com> Co-authored-by: Evie Boland <eboland@hubspot.com>
1 parent 09b3d32 commit bd0e7bb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestRequestAttributes.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,7 @@ private Map<String, byte[]> getRequestAttributesForRowKey(byte[] rowKey) {
352352
return null;
353353
}
354354

355-
private boolean isValidRequestAttributes(Map<String, byte[]> requestAttributes)
356-
throws IOException {
355+
private boolean isValidRequestAttributes(Map<String, byte[]> requestAttributes) {
357356
RpcCall rpcCall = RpcServer.getCurrentCall().get();
358357
Map<String, byte[]> attrs = rpcCall.getRequestAttributes();
359358
if (attrs.size() != requestAttributes.size()) {

0 commit comments

Comments
 (0)