Riza Suminto has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20641


Change subject: IMPALA-12532: Fix bug in cancel_query_and_validate_state
......................................................................

IMPALA-12532: Fix bug in cancel_query_and_validate_state

test_cancellation.py was silently buggy for not exercising exec_option
combinations configured at TestCancellation::execute_cancel_test().

change_database() should not be called right after set_configuration()
in cancel_util.py::cancel_query_and_validate_state(). This is because
change_database() will erase all configuration that was previously set.

This patch fix the issue by calling change_database() first before
set_configuration().

Testing:
- Manually run test_cancellation.py and confirm at coordinator log that
  query options are set properly.

Change-Id: Ie908fc1384279482892c3f8b2cfa3592e54f9d5a
---
M tests/util/cancel_util.py
1 file changed, 1 insertion(+), 1 deletion(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie908fc1384279482892c3f8b2cfa3592e54f9d5a
Gerrit-Change-Number: 20641
Gerrit-PatchSet: 1
Gerrit-Owner: Riza Suminto <[email protected]>

Reply via email to