Index: src/test/java/org/apache/hadoop/hbase/io/encoding/TestChangingEncoding.java =================================================================== --- src/test/java/org/apache/hadoop/hbase/io/encoding/TestChangingEncoding.java (revision 1588104) +++ src/test/java/org/apache/hadoop/hbase/io/encoding/TestChangingEncoding.java (working copy) @@ -134,14 +134,16 @@ int batchId) throws Exception { LOG.debug("Writing test data batch " + batchId); HTable table = new HTable(conf, tableName); + table.setAutoFlush(false); for (int i = 0; i < NUM_ROWS_PER_BATCH; ++i) { Put put = new Put(getRowKey(batchId, i)); for (int j = 0; j < NUM_COLS_PER_ROW; ++j) { put.add(CF_BYTES, getQualifier(j), getValue(batchId, i, j)); - table.put(put); } + table.put(put); } + table.flushCommits(); table.close(); }