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

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

Commit 0a45cb5ae6d1345a7d531c22d174c99ea7cedea0 in impala's branch 
refs/heads/master from jasonmfehr
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=0a45cb5ae ]

IMPALA-13298: Correct test_miss_complete_cb Assertion

Commit ad868b9 modified the RPC error messages to include the
query id. Part of this change was to remove the string
"Query aborted" from the test's beeswax client when it raises an
error.

The TestRPCTimeout.test_miss_complete_cb was missed and was still
asserting on the string "Query aborted". This patch fixes that test
to use the new error_msg_expected() function.

Testing was accomplished by running the
TestRPCTimeout.test_miss_complete_cb test locally.

Change-Id: Ifb2fa3864b52b0927c6488b22135913b90bce3bd
Reviewed-on: http://gerrit.cloudera.org:8080/21678
Reviewed-by: Riza Suminto <[email protected]>
Reviewed-by: Xuebin Su <[email protected]>
Reviewed-by: Michael Smith <[email protected]>
Tested-by: Michael Smith <[email protected]>


> TestRPCTimeout.test_miss_complete_cb: RPC Failed: Could Not Connect
> -------------------------------------------------------------------
>
>                 Key: IMPALA-13298
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13298
>             Project: IMPALA
>          Issue Type: Bug
>    Affects Versions: Impala 4.5.0
>            Reporter: Jason Fehr
>            Assignee: Jason Fehr
>            Priority: Minor
>              Labels: broken-build, flaky-test
>             Fix For: Impala 4.5.0
>
>
> Custom cluster test assert failure:
> Error:
> {noformat}
> assert 'Query aborted' in 'Query dc4af3c7143ae570:142a80e300000000 
> failed:\nExec() rpc failed: Remote error: Runtime error: Debug Action: 
> IMPALA_SERVICE_POOL:FAIL\n\n'  +  where 'Query 
> dc4af3c7143ae570:142a80e300000000 failed:\nExec() rpc failed: Remote error: 
> Runtime error: Debug Action: IMPALA_SERVICE_POOL:FAIL\n\n' = 
> str(ImpalaBeeswaxException())
> {noformat}
> Stack Trace:
> {noformat}
> custom_cluster/test_rpc_timeout.py:231: in test_miss_complete_cb
>     assert "Query aborted" in str(ex)
> E   assert 'Query aborted' in 'Query dc4af3c7143ae570:142a80e300000000 
> failed:\nExec() rpc failed: Remote error: Runtime error: Debug Action: 
> IMPALA_SERVICE_POOL:FAIL\n\n'
> E    +  where 'Query dc4af3c7143ae570:142a80e300000000 failed:\nExec() rpc 
> failed: Remote error: Runtime error: Debug Action: 
> IMPALA_SERVICE_POOL:FAIL\n\n' = str(ImpalaBeeswaxException())
> {noformat}



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