[
https://issues.apache.org/jira/browse/IMPALA-13639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17909684#comment-17909684
]
ASF subversion and git services commented on IMPALA-13639:
----------------------------------------------------------
Commit 99529db6ad62ddc34cbfd924d7e41b1fce5b60a2 in impala's branch
refs/heads/master from Michael Smith
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=99529db6a ]
IMPALA-13639: Wait for prior queries in TestWebPage
Waits for prior test queries to complete before starting query
cancellation tests that expect no in-flight queries.
Removes redundant asserts that num_in_flight_queries reached the
expected value, as try_until will fail the test if it times out.
Change-Id: I683d8b25dc0ec40bc2deb7aa11f79c6bc1a837c3
Reviewed-on: http://gerrit.cloudera.org:8080/22292
Reviewed-by: Riza Suminto <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> test_query_cancel_exception can fail if prior test query has not completed
> --------------------------------------------------------------------------
>
> Key: IMPALA-13639
> URL: https://issues.apache.org/jira/browse/IMPALA-13639
> Project: IMPALA
> Issue Type: Task
> Components: Test
> Reporter: Michael Smith
> Assignee: Michael Smith
> Priority: Major
> Fix For: Impala 4.5.0
>
>
> The test
> webserver/test_web_pages.py::TestWebPage::test_query_cancel_exception can
> fail on its initial check if a prior test - such as
> stress/test_update_stress.py::TestIcebergConcurrentUpdateStress::test_iceberg_updates
> - completed and left a running query. A simple fix is to retry a few times
> for the prior test query to complete.
> The test failure looks like
> {code}
> webserver/test_web_pages.py:1086: in test_query_cancel_exception
> assert response_json['num_in_flight_queries'] == 0
> E assert 1 == 0
> {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]