Xuebin Su has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/22468


Change subject: IMPALA-13729: Accept error messages not starting with prompt
......................................................................

IMPALA-13729: Accept error messages not starting with prompt

Previously, error_msg_expected() only accepted error messages starting
with the following error prompt:
```
Query <query_id> failed:\n
```
However, for some tests using the Beeswax protocol, the error prompt may
appear in the middle of the error message instead of at its beginning.

Therefore, this patch adapts error_msg_expected() to accept error
messages not starting with the error prompt.

Change-Id: Iac3e68bcc36776f7fd6cc9c838dd8da9c3ecf58b
---
M tests/common/test_result_verifier.py
1 file changed, 12 insertions(+), 15 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/68/22468/2
--
To view, visit http://gerrit.cloudera.org:8080/22468
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iac3e68bcc36776f7fd6cc9c838dd8da9c3ecf58b
Gerrit-Change-Number: 22468
Gerrit-PatchSet: 2
Gerrit-Owner: Xuebin Su <[email protected]>

Reply via email to