HBASE-2664 TestHRegion.testCheckAndDelete_ThatDeleteWasWritten fail in trunk

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@951263 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-06-04 04:47:51 +00:00
parent 1c233d1ba3
commit e3c6b554ab
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ import org.apache.hadoop.hbase.filter.PrefixFilter;
import org.apache.hadoop.hbase.filter.SingleColumnValueFilter; import org.apache.hadoop.hbase.filter.SingleColumnValueFilter;
import org.apache.hadoop.hbase.regionserver.HRegion.RegionScanner; import org.apache.hadoop.hbase.regionserver.HRegion.RegionScanner;
import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.hbase.util.Bytes;
import org.apache.hadoop.hbase.util.Threads;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
@ -502,6 +503,7 @@ public class TestHRegion extends HBaseTestCase {
Put put = new Put(row1); Put put = new Put(row1);
put.add(fam1, qf1, val1); put.add(fam1, qf1, val1);
region.put(put); region.put(put);
Threads.sleep(2);
put = new Put(row1); put = new Put(row1);
put.add(fam1, qf1, val2); put.add(fam1, qf1, val2);