Joe McDonnell has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/23081 )

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


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/23081/1/tests/custom_cluster/test_scratch_disk.py
File tests/custom_cluster/test_scratch_disk.py:

http://gerrit.cloudera.org:8080/#/c/23081/1/tests/custom_cluster/test_scratch_disk.py@238
PS1, Line 238:     # There are two fragments, but one can finish so quickly 
that the metric is never
             :     # sampled as 2. Instead, wait for the metric to reach 1.
             :     
verifier.wait_for_metric("impala-server.num-fragments-in-flight", 1)
> Wouldn't it be clearer + simpler to wait for the query to have rows availab
After thinking about this a bit, I don't think the wait does anything. The 
subsequent calls to wait_for_metric_value() will implicitly wait for the query 
to start, because the scratch space can't be non-zero otherwise. So, I removed 
the waits.



--
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: comment
Gerrit-Change-Id: Ic8c573affc033056ba465c42bd420d5c1d3ba15c
Gerrit-Change-Number: 23081
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Comment-Date: Tue, 24 Jun 2025 18:24:59 +0000
Gerrit-HasComments: Yes

Reply via email to