Skip to content

Commit 1498df4

Browse files
eab148rmdmattinglyEvie Boland
authored
HubSpot Backport: HBASE-28842 TestRequestAttributes should fail when expected (apache#6255) (apache#6287) (#119)
Signed-off-by: Ray Mattingly <[email protected]> Signed-off-by: Nick Dimiduk <[email protected]> Co-authored-by: Ray Mattingly <[email protected]> Co-authored-by: Evie Boland <[email protected]>
1 parent d3f2233 commit 1498df4

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)