[
https://issues.apache.org/jira/browse/IMPALA-8059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16739790#comment-16739790
]
ASF subversion and git services commented on IMPALA-8059:
---------------------------------------------------------
Commit 51f30a6b9088cf3a0217a49a5792f1b41a8ad51b in impala's branch
refs/heads/master from Joe McDonnell
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=51f30a6 ]
IMPALA-8063: Add sleep to ImpalaTestSuite::wait_for_state() loop
ImpalaTestSuite::wait_for_state() loops waiting for the state
on the connection handle to reach the expected state. This loop
does not sleep, and the get_state() does some logging, so this
loop is generating a large amount of logging.
This adds a 0.5 second sleep to the loop. Running test_web_pages.py
shows a large reduction in logging.
webserver/test_web_page.py contains several tests that xfail but
still have run=True. Those tests are broken and use wait_for_state()
heavily, so disable those while IMPALA-8059 is being fixed.
Change-Id: Iaed0a9b292d431a64e22b460c92f6ef57b6abd1e
Reviewed-on: http://gerrit.cloudera.org:8080/12207
Reviewed-by: Sahil Takiar <[email protected]>
Reviewed-by: Pooja Nilangekar <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Joe McDonnell <[email protected]>
> TestWebPage::test_backend_states is flaky
> -----------------------------------------
>
> Key: IMPALA-8059
> URL: https://issues.apache.org/jira/browse/IMPALA-8059
> Project: IMPALA
> Issue Type: Bug
> Reporter: Pooja Nilangekar
> Assignee: Sahil Takiar
> Priority: Blocker
> Labels: broken-build, flaky-test
>
> test_backend_states is flaky. The query reaches the _"FINISHED"_ state before
> it's state is verified by the python test. Here are the relevant log:
> {code:java}
> 07:33:45 ----------------------------- Captured stderr call
> -----------------------------
> 07:33:45 -- executing async: localhost:21000
> 07:33:45 select sleep(10000) from functional.alltypes limit 1;
> 07:33:45
> 07:33:45 -- 2019-01-08 07:31:57,952 INFO MainThread: Started query
> 7f46f15ed4d6d0f6:4d58cdbc00000000
> 07:33:45 -- getting state for operation:
> <tests.common.impala_connection.OperationHandle object at 0x5b3db90>
> {code}
> This bug was introduced by IMPALA-7625.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]