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

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

Commit ff5cbadec4885c09f69f37574d4f4c08f62744c1 in impala's branch 
refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=ff5cbadec ]

IMPALA-12864: Deflake test_query_log_size_in_bytes.

test_query_log_size_in_bytes is flaky in exhaustive builds. The expected
QueryStateRecord is off by around 100KB per query, indicating that the
test query might be too complex and lead to variability in final query
profile that is being archived.

This patch simplifies the test query and relaxes the assertion. This
patch also adds QUERY_LOG_EST_TOTAL_BYTES metric (key name
"impala-server.query-log-est-total-bytes") that is validated as well in
test_query_log_size_in_bytes. query-state-record-test.cc is modified a
bit to resolve segmentation fault issue when building
unified-be-test-validated-executable target run_clang_tidy.sh.

Testing:
- Pass test_query_log_size_in_bytes in exhaustive build.

Change-Id: Ic9b543ffa931a01c11d58e45774ea46af78b3a25
Reviewed-on: http://gerrit.cloudera.org:8080/21100
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Deflake test_query_log_size_in_bytes
> ------------------------------------
>
>                 Key: IMPALA-12864
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12864
>             Project: IMPALA
>          Issue Type: Test
>            Reporter: Riza Suminto
>            Assignee: Riza Suminto
>            Priority: Major
>              Labels: broken-build
>
> test_query_log_size_in_bytes is flaky in exhaustive build. The expected 
> QueryStateRecord is off by around 100KB per query, indicating that the test 
> query might be too complex and lead to variability in final query profile 
> that is being archived.
> The test query and assertion need to be simplified.



--
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