Skip to content

Commit 7cb7100

Browse files
authored
HBASE-27161 Improve TestMultiRespectsLimits (#4586)
TestMultiRespectLimits submits a put with an empty value. This appears to not be what was intended. Instead, use a single byte. Signed-off-by: Duo Zhang <zhangduo@apache.org>
1 parent ed32043 commit 7cb7100

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ public void testBlockMultiLimits() throws Exception {
150150
Bytes.toBytes("5"), // Buffer
151151
};
152152

153-
// Set the value size so that one result will be less than the MAX_SIE
153+
// Set the value size so that one result will be less than the MAX_SIZE
154154
// however the block being reference will be larger than MAX_SIZE.
155155
// This should cause the regionserver to try and send a result immediately.
156-
byte[] value = new byte[MAX_SIZE - 100];
156+
byte[] value = new byte[1];
157157
Bytes.random(value);
158158

159159
for (byte[] col : cols) {

0 commit comments

Comments
 (0)