HBASE-5659 Addendum

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1364895 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
larsh 2012-07-24 05:19:30 +00:00
parent 53ac5a3f8f
commit 4d99488e58
1 changed files with 6 additions and 0 deletions

View File

@ -276,6 +276,9 @@ public class TestAtomicOperation extends HBaseTestCase {
synchronized(region) {
LOG.debug("flushing");
region.flushcache();
if (i%100==0) {
region.compactStores();
}
}
}
long ts = timeStamps.incrementAndGet();
@ -361,6 +364,9 @@ public class TestAtomicOperation extends HBaseTestCase {
synchronized(region) {
LOG.debug("flushing");
region.flushcache();
if (i%100==0) {
region.compactStores();
}
}
}
long ts = timeStamps.incrementAndGet();