Jiyoung Yoo has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/24675


Change subject: IMPALA-13219: test_rows_sent_counters is flaky due to 
CreateResultSetTime check
......................................................................

IMPALA-13219: test_rows_sent_counters is flaky due to CreateResultSetTime check

The test_rows_sent_counters test expected CreateResultSetTime to be in
the range of [2400, 2600] ms for
'SELECT sleep(100) FROM functional.alltypes LIMIT 25'.

However, as noted in 'man 2 nanosleep', even after a sleep completes,
there can still be a delay before the CPU becomes free to execute the
calling thread. On loaded test environments, this CPU scheduling delay
accumulates across the 25 rows, causing create_result_ms to slightly
exceed 2600ms.

To deflake this test, this patch increases the upper limit of
create_result_ms from 2600ms to 2800ms.

Change-Id: I115e0754dfcba8b153d94c23f191f15053b2db37
---
M tests/query_test/test_fetch.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/75/24675/2
--
To view, visit http://gerrit.cloudera.org:8080/24675
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I115e0754dfcba8b153d94c23f191f15053b2db37
Gerrit-Change-Number: 24675
Gerrit-PatchSet: 2
Gerrit-Owner: Jiyoung Yoo <[email protected]>

Reply via email to