Joe McDonnell has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/23081


Change subject: IMPALA-14164: Fix timeout for fragments in flight in 
TestScratchDir
......................................................................

IMPALA-14164: Fix timeout for fragments in flight in TestScratchDir

On release builds, some tests in TestScratchDir have started hitting
a timeout waiting for num-fragments-in-flight to reach 2. The code
to wait for the metric sleeps one second between samples. If one of
the query fragments starts and finishes during that second, the test
will never see a sample containing two in-flight fragments. This
happens on release builds because they are faster and more likely to
complete within that second.

This changes the code to wait for num-fragments-in-flight=1. This
should have no impact on the correctness of the subsequent checks,
and it avoids the chance of hitting this timeout.

Testing:
 - Ran custom_cluster/test_scratch_disk.py multiple times with a
   release build

Change-Id: Ic8c573affc033056ba465c42bd420d5c1d3ba15c
---
M tests/custom_cluster/test_scratch_disk.py
1 file changed, 21 insertions(+), 7 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic8c573affc033056ba465c42bd420d5c1d3ba15c
Gerrit-Change-Number: 23081
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <[email protected]>

Reply via email to