HBASE-12191 Make TestCacheOnWrite faster.

This commit is contained in:
stack 2014-10-07 13:14:23 -07:00
parent e1b69bd548
commit 7546f9a4d9
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@ import org.apache.hadoop.hbase.HColumnDescriptor;
import org.apache.hadoop.hbase.HConstants;
import org.apache.hadoop.hbase.KeyValue;
import org.apache.hadoop.hbase.Tag;
import org.apache.hadoop.hbase.client.Durability;
import org.apache.hadoop.hbase.client.Put;
import org.apache.hadoop.hbase.fs.HFileSystem;
import org.apache.hadoop.hbase.io.compress.Compression;
@ -429,6 +430,7 @@ public class TestCacheOnWrite {
}
}
}
p.setDurability(Durability.ASYNC_WAL);
region.put(p);
}
region.flushcache();