HBASE-4724 TestAdmin hangs randomly in trunk
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196636 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d6601d1d17
commit
321d6c3025
|
@ -678,7 +678,6 @@ public class TestAdmin {
|
||||||
for (int i = 0; i < rowCounts[index]; i++) {
|
for (int i = 0; i < rowCounts[index]; i++) {
|
||||||
byte[] k = Bytes.toBytes(i);
|
byte[] k = Bytes.toBytes(i);
|
||||||
Put put = new Put(k);
|
Put put = new Put(k);
|
||||||
put.setWriteToWAL(false);
|
|
||||||
put.add(familyNames[index], new byte[0], k);
|
put.add(familyNames[index], new byte[0], k);
|
||||||
table.put(put);
|
table.put(put);
|
||||||
}
|
}
|
||||||
|
@ -1312,7 +1311,6 @@ public class TestAdmin {
|
||||||
.toBytes(tableName));
|
.toBytes(tableName));
|
||||||
for (int i = 1; i <= 256; i++) { // 256 writes should cause 8 log rolls
|
for (int i = 1; i <= 256; i++) { // 256 writes should cause 8 log rolls
|
||||||
Put put = new Put(Bytes.toBytes("row" + String.format("%1$04d", i)));
|
Put put = new Put(Bytes.toBytes("row" + String.format("%1$04d", i)));
|
||||||
put.setWriteToWAL(false);
|
|
||||||
put.add(HConstants.CATALOG_FAMILY, null, value);
|
put.add(HConstants.CATALOG_FAMILY, null, value);
|
||||||
table.put(put);
|
table.put(put);
|
||||||
if (i % 32 == 0) {
|
if (i % 32 == 0) {
|
||||||
|
|
Loading…
Reference in New Issue