Joe McDonnell has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/21036


Change subject: IMPALA-12814: Allow use of row_regex for VERIFY_IS_NOT_IN
......................................................................

IMPALA-12814: Allow use of row_regex for VERIFY_IS_NOT_IN

This adds support for using "row_regex:" entries in the
VERIFY_IS_NOT_IN sections. There are existing tests that
already use this formula, but it doesn't actually match
using the regex. This fixes test_result_verifier.py's
verify_query_result_is_not_in() to detect the regexes and
use regex logic for the check.

Testing:
 - Hand tested by adding a "row_regex:.*" to a VERIFY_IS_NOT_IN
   section and verifying it produces an error.
 - Hand tested by adding a "row_regex:match_nothing.*" to
   make sure nothing matched it.

Change-Id: Id856ae7de9727adeaec9487c7bd0c2b81c8e8b37
---
M tests/common/test_result_verifier.py
1 file changed, 19 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/36/21036/1
--
To view, visit http://gerrit.cloudera.org:8080/21036
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id856ae7de9727adeaec9487c7bd0c2b81c8e8b37
Gerrit-Change-Number: 21036
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <[email protected]>

Reply via email to