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

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

Commit 469254d236917631f71e43f97ce7b5b1cc67bb68 in impala's branch 
refs/heads/master from Balazs Hevele
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=469254d23 ]

IMPALA-15064: Fix flakiness of 
test_query_profile_contains_query_compilation_metadata_load_events

This tests invalidates a table, runs a select query, and checks that
the runtime profile contains a set of static lines.
Some of these lines (e.g. CatalogFetch.RPCs.Bytes) are only included,
with local catalog, if the table is still evicted from the cache.
However, with it running parallelly with other tests, another query can
fetch the table, between the invalidate and the select query, making the
test fail.

Fixed by using a unique database in this test instead of a common one.

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


> test_query_profile_contains_query_compilation_metadata_load_events is flaky
> ---------------------------------------------------------------------------
>
>                 Key: IMPALA-15064
>                 URL: https://issues.apache.org/jira/browse/IMPALA-15064
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog
>            Reporter: Balazs Hevele
>            Assignee: Balazs Hevele
>            Priority: Major
>              Labels: flaky-test
>
> Test 
> query_test.test_observability.TestObservability.test_query_profile_contains_query_compilation_metadata_load_events
>  is flaky.
> It runs in parallel with other tests. It invalidates functional.alltypes, 
> runs a select query on it, and relies on it not getting refreshed into the 
> local cache between the two queries.
> If another test fetches the table between the two queries, the test fails 
> with: CatalogFetch.RPCs.Bytes not being found in the runtime profile.
> It should either run sequentially, or use a unique database.



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