HBASE-12191 Make TestCacheOnWrite faster.

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

View File

@ -43,6 +43,7 @@ import org.apache.hadoop.hbase.HConstants;
import org.apache.hadoop.hbase.KeyValue;
import org.apache.hadoop.hbase.MediumTests;
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;
@ -428,6 +429,7 @@ public class TestCacheOnWrite {
}
}
}
p.setDurability(Durability.ASYNC_WAL);
region.put(p);
}
region.flushcache();