Skip to content

Commit 6fda6b2

Browse files
rmdmattinglyeab148Evie Boland
authored
HBASE-28842 TestRequestAttributes should fail when expected (apache#6255) (apache#6287)
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 6492f6e commit 6fda6b2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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)