[ 
https://issues.apache.org/jira/browse/IMPALA-13219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18104171#comment-18104171
 ] 

ASF subversion and git services commented on IMPALA-13219:
----------------------------------------------------------

Commit 35cb39f9df384f5e5d68ef584a73949ccfabda66 in impala's branch 
refs/heads/master from Jiyoung Yoo
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=35cb39f9d ]

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
Reviewed-on: http://gerrit.cloudera.org:8080/24675
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Yida Wu <[email protected]>


> test_rows_sent_counters is flaky due to CreateResultSetTime check
> -----------------------------------------------------------------
>
>                 Key: IMPALA-13219
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13219
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Jiyoung Yoo
>            Priority: Major
>              Labels: broken-build
>
> test_rows_sent_counters is flaky due to CreateResultSetTime check.
> h2. Error Message
> {noformat}
> query_test/test_fetch.py:85: in test_rows_sent_counters     assert 2400 < 
> create_result_ms and create_result_ms < 2600 E   assert (2400 < 2607.0 and 
> 2607.0 < 2600)
> {noformat}
> h2. Stacktrace
> {noformat}
> query_test/test_fetch.py:85: in test_rows_sent_counters
>     assert 2400 < create_result_ms and create_result_ms < 2600
> E   assert (2400 < 2607.0 and 2607.0 < 2600)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to