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

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

Commit 2ae0e4139c2a9cd07e32bae29a256ecc8f8424c0 in impala's branch 
refs/heads/master from Gergely Fürnstáhl
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=2ae0e4139 ]

IMPALA-10111: Fix TestWebPage::test_query_stmt flakiness

A query might be logged in "in_flight_queries" even though it has
already finished. Earlier the test only looked for the executed query
in "completed_queries", after this commit it will look in both lists.

Moreover, removed unnecessary duplicated execution of the query and
added formatting to dumped response to ease debugging in the future.

Testing:
 - Locally reproducible for the first test run after starting the
cluster.
 - Verified that the query is found in in_flight_queries too and the
test passes in this case.

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


> TestWebPage::test_query_stmt is flaky
> -------------------------------------
>
>                 Key: IMPALA-10111
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10111
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Quanlong Huang
>            Assignee: Tamas Mate
>            Priority: Major
>              Labels: broken-build, flaky
>
> Found in an unrelated patch: 
> https://jenkins.impala.io/job/ubuntu-16.04-dockerised-tests/3032/testReport/junit/webserver.test_web_pages/TestWebPage/test_query_stmt/
> {code:java}
> webserver/test_web_pages.py:418: in test_query_stmt
>     assert check_if_contains, "No matching statement found in the jsons."
> E   AssertionError: No matching statement found in the jsons.
> E   assert False {code}



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