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>
This commit is contained in:
parent
ed32043da0
commit
7cb7100de5
|
@ -150,10 +150,10 @@ public class TestMultiRespectsLimits {
|
||||||
Bytes.toBytes("5"), // Buffer
|
Bytes.toBytes("5"), // Buffer
|
||||||
};
|
};
|
||||||
|
|
||||||
// Set the value size so that one result will be less than the MAX_SIE
|
// Set the value size so that one result will be less than the MAX_SIZE
|
||||||
// however the block being reference will be larger than MAX_SIZE.
|
// however the block being reference will be larger than MAX_SIZE.
|
||||||
// This should cause the regionserver to try and send a result immediately.
|
// This should cause the regionserver to try and send a result immediately.
|
||||||
byte[] value = new byte[MAX_SIZE - 100];
|
byte[] value = new byte[1];
|
||||||
Bytes.random(value);
|
Bytes.random(value);
|
||||||
|
|
||||||
for (byte[] col : cols) {
|
for (byte[] col : cols) {
|
||||||
|
|
Loading…
Reference in New Issue