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

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

Commit ec2dfd9482d48470176ee3c7925875855879a0b2 in impala's branch 
refs/heads/master from Sahil Takiar
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=ec2dfd9 ]

IMPALA-7625: test_web_pages.py backend tests are failing

The backend tests in test_web_page.py do some basic validation of
the query_backends and query_finstances endpoints. The tests were
failing due to a race condition in the test itself. The issue is that
the backend endpoints are only usable while a query is running. When
queried against completed queries, the backend endpoints return nothing.
The original test worked by running a "complex" query asynchronously and
then querying the backend endpoints before the query completed. The
assumption was that the query would run long enough for the request to
the backend endpoint to complete. However, that is not always the case
and the query easily completes before the backend endpoints can be
reached.

This patch updates the test so that instead of running a "complex"
query, it runs a query that calls the sleep UDF, guaranteeing the query
will take enough time for the backend endpoints to be reached.

Furthermore, the patch adds additional validation and cleanup of all the
backend endpoint tests.

Testing:

Ran core tests.

Change-Id: I2092afe1bfaec30cd3e7b0040f06865e43fe62fb
Reviewed-on: http://gerrit.cloudera.org:8080/12024
Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>


> test_web_pages.py backend tests are failing
> -------------------------------------------
>
>                 Key: IMPALA-7625
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7625
>             Project: IMPALA
>          Issue Type: Test
>          Components: Infrastructure
>            Reporter: Sahil Takiar
>            Assignee: Sahil Takiar
>            Priority: Major
>
> While working on IMPALA-6249, we found that the tests under 
> {{webserver/test_web_pages.py}} are not being run by Jenkins. We re-enabled 
> the tests, however, a few of the backend specific tests are failing. 
> IMPALA-6249 disabled these tests. This JIRA is to follow up on these tests 
> and fix them.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to