Skip to content

Commit

Permalink
HBASE-13798. Revert test case to set 3 versions for test table
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolnar committed Apr 30, 2019
1 parent 00e4325 commit 9e200bb
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,12 @@ static byte[] generateHugeValue(int size) {

@Test
public void testScanWithBatchSizeReturnIncompleteCells() throws IOException {
TEST_UTIL.deleteTable(tableName);
TableDescriptor hd = TableDescriptorBuilder.newBuilder(tableName)
.setColumnFamily(ColumnFamilyDescriptorBuilder.newBuilder(FAMILY).setMaxVersions(3).build())
.build();
table = TEST_UTIL.createTable(hd, null);

Put put = new Put(ROW);
put.addColumn(FAMILY, Bytes.toBytes(0), generateHugeValue(3 * 1024 * 1024));
table.put(put);
Expand Down

0 comments on commit 9e200bb

Please sign in to comment.