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:
Andrew Kyle Purtell 2008-12-02 01:33:00 +00:00
parent 9673c4ad75
commit 9f5dd5eca9
2 changed files with 9 additions and 0 deletions

View File

@ -86,6 +86,7 @@ Release 0.19.0 - Unreleased
HBASE-1021 hbase metrics FileContext not working
HBASE-1023 Check global flusher
HBASE-1036 HBASE-1028 broke Thrift
HBASE-1037 Some test cases failing on Windows/Cygwin but not UNIX/Linux
IMPROVEMENTS
HBASE-901 Add a limit to key length, check key and value length on client side

View File

@ -189,6 +189,10 @@ public class TestThriftServer extends HBaseClusterTestCase {
long time1 = System.currentTimeMillis();
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
long time2 = System.currentTimeMillis();
handler.mutateRowsTs(tableAname, getBatchMutations(), time2);
@ -253,6 +257,10 @@ public class TestThriftServer extends HBaseClusterTestCase {
long time1 = System.currentTimeMillis();
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
long time2 = System.currentTimeMillis();
handler.mutateRowsTs(tableAname, getBatchMutations(), time2);