HBASE-16368 test*WhenRegionMove in TestPartialResultsFromClientSide is flaky
Signed-off-by: zhangduo <zhangduo@apache.org>
This commit is contained in:
parent
ede9940a7b
commit
091a17e3c9
|
@ -100,7 +100,7 @@ public class TestPartialResultsFromClientSide {
|
||||||
// getCellHeapSize().
|
// getCellHeapSize().
|
||||||
private static long CELL_HEAP_SIZE = -1;
|
private static long CELL_HEAP_SIZE = -1;
|
||||||
|
|
||||||
private static long timeout = 2000;
|
private static long timeout = 10000;
|
||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void setUpBeforeClass() throws Exception {
|
public static void setUpBeforeClass() throws Exception {
|
||||||
|
@ -1056,7 +1056,7 @@ public class TestPartialResultsFromClientSide {
|
||||||
scan.setCaching(1);
|
scan.setCaching(1);
|
||||||
ResultScanner scanner = table.getScanner(scan);
|
ResultScanner scanner = table.getScanner(scan);
|
||||||
scanner.next();
|
scanner.next();
|
||||||
Thread.sleep(timeout * 3);
|
Thread.sleep(timeout * 2);
|
||||||
int count = 1;
|
int count = 1;
|
||||||
while (scanner.next() != null) {
|
while (scanner.next() != null) {
|
||||||
count++;
|
count++;
|
||||||
|
|
Loading…
Reference in New Issue