HBASE-1037 Some test cases failing on Windows/Cygwin but not UNIX/Linux
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@722322 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9673c4ad75
commit
9f5dd5eca9
|
@ -86,6 +86,7 @@ Release 0.19.0 - Unreleased
|
||||||
HBASE-1021 hbase metrics FileContext not working
|
HBASE-1021 hbase metrics FileContext not working
|
||||||
HBASE-1023 Check global flusher
|
HBASE-1023 Check global flusher
|
||||||
HBASE-1036 HBASE-1028 broke Thrift
|
HBASE-1036 HBASE-1028 broke Thrift
|
||||||
|
HBASE-1037 Some test cases failing on Windows/Cygwin but not UNIX/Linux
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HBASE-901 Add a limit to key length, check key and value length on client side
|
HBASE-901 Add a limit to key length, check key and value length on client side
|
||||||
|
|
|
@ -189,6 +189,10 @@ public class TestThriftServer extends HBaseClusterTestCase {
|
||||||
long time1 = System.currentTimeMillis();
|
long time1 = System.currentTimeMillis();
|
||||||
handler.mutateRowTs(tableAname, rowAname, getMutations(), time1);
|
handler.mutateRowTs(tableAname, rowAname, getMutations(), time1);
|
||||||
|
|
||||||
|
// Sleep to assure that 'time1' and 'time2' will be different even with a
|
||||||
|
// coarse grained system timer.
|
||||||
|
Thread.sleep(1000);
|
||||||
|
|
||||||
// Apply timestamped BatchMutations for rowA and rowB
|
// Apply timestamped BatchMutations for rowA and rowB
|
||||||
long time2 = System.currentTimeMillis();
|
long time2 = System.currentTimeMillis();
|
||||||
handler.mutateRowsTs(tableAname, getBatchMutations(), time2);
|
handler.mutateRowsTs(tableAname, getBatchMutations(), time2);
|
||||||
|
@ -253,6 +257,10 @@ public class TestThriftServer extends HBaseClusterTestCase {
|
||||||
long time1 = System.currentTimeMillis();
|
long time1 = System.currentTimeMillis();
|
||||||
handler.mutateRowTs(tableAname, rowAname, getMutations(), time1);
|
handler.mutateRowTs(tableAname, rowAname, getMutations(), time1);
|
||||||
|
|
||||||
|
// Sleep to assure that 'time1' and 'time2' will be different even with a
|
||||||
|
// coarse grained system timer.
|
||||||
|
Thread.sleep(1000);
|
||||||
|
|
||||||
// Apply timestamped BatchMutations for rowA and rowB
|
// Apply timestamped BatchMutations for rowA and rowB
|
||||||
long time2 = System.currentTimeMillis();
|
long time2 = System.currentTimeMillis();
|
||||||
handler.mutateRowsTs(tableAname, getBatchMutations(), time2);
|
handler.mutateRowsTs(tableAname, getBatchMutations(), time2);
|
||||||
|
|
Loading…
Reference in New Issue