HBASE-16368 test*WhenRegionMove in TestPartialResultsFromClientSide is flaky

Signed-off-by: zhangduo <zhangduo@apache.org>
This commit is contained in:
Phil Yang 2016-08-09 15:09:00 +08:00 committed by zhangduo
parent ede9940a7b
commit 091a17e3c9
1 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ public class TestPartialResultsFromClientSide {
// getCellHeapSize().
private static long CELL_HEAP_SIZE = -1;
private static long timeout = 2000;
private static long timeout = 10000;
@BeforeClass
public static void setUpBeforeClass() throws Exception {
@ -1056,7 +1056,7 @@ public class TestPartialResultsFromClientSide {
scan.setCaching(1);
ResultScanner scanner = table.getScanner(scan);
scanner.next();
Thread.sleep(timeout * 3);
Thread.sleep(timeout * 2);
int count = 1;
while (scanner.next() != null) {
count++;