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 38044ada32
commit e51df6723c
1 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,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 {
@ -1054,7 +1054,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++;