Quanlong Huang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20924


Change subject: IMPALA-12716: Fix timeout thresholds in 
test_catalog_operations_with_rpc_retry
......................................................................

IMPALA-12716: Fix timeout thresholds in test_catalog_operations_with_rpc_retry

test_catalog_operations_with_rpc_retry uses a short timeout which could
lead to failures in the first DESCRIBE statement. What it expects is the
next REFRESH statement failed by the RPC timeout.

The DESCRIBE statement triggers a catalog RPC of PrioritizeLoad on the
table. The RPC usually finishes in 40ms. This patch bumps the RPC
timeout of the test to be 100ms so it's long enough for DESCRIBE to
succeed. Also bumps the sleep time in the REFRESH statement so its
ExecDdl RPC will always time out in 100ms.

Tests:
 - Ran the test till night (2700 times) and all passed.

Change-Id: Ibbfa79d7f7530af4cfbb6f8ebc55e8267e3d3261
---
M tests/custom_cluster/test_web_pages.py
1 file changed, 5 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/24/20924/1
--
To view, visit http://gerrit.cloudera.org:8080/20924
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibbfa79d7f7530af4cfbb6f8ebc55e8267e3d3261
Gerrit-Change-Number: 20924
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <[email protected]>

Reply via email to