Impala Public Jenkins has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/21107 )

Change subject: IMPALA-12678: Deflake test_skipping_batching_events
......................................................................

IMPALA-12678: Deflake test_skipping_batching_events

test_skipping_batching_events is flaky. It expect that REFRESH query
will arrive before ALTER_PARTITION is polled and processed, but the
opposite can happens too.

This patch deflake the test by injecting delay inside
MetastoreEvents.getFilteredEvents() rather than increasing
hms_event_polling_interval_s. The delay injection is specified through
debug_actions flag. This patch also add method in ImpaladProcess and
CatalogdProcess to help change JVM log level from pytest method.

Testing:
- Loop and pass test_skipping_batching_events 100 times.

Change-Id: Ia6e4cd1e9492e3ce75f5089038b90d0af4fbdb0f
Reviewed-on: http://gerrit.cloudera.org:8080/21107
Reviewed-by: Sai Hemanth Gantasala <[email protected]>
Reviewed-by: Jason Fehr <[email protected]>
Reviewed-by: Quanlong Huang <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M be/src/util/backend-gflag-util.cc
M common/thrift/BackendGflags.thrift
M fe/src/main/java/org/apache/impala/catalog/events/MetastoreEvents.java
M 
fe/src/main/java/org/apache/impala/catalog/events/MetastoreEventsProcessor.java
M fe/src/main/java/org/apache/impala/service/BackendConfig.java
M fe/src/main/java/org/apache/impala/util/DebugUtils.java
M tests/common/impala_cluster.py
M tests/custom_cluster/test_events_custom_configs.py
8 files changed, 60 insertions(+), 11 deletions(-)

Approvals:
  Sai Hemanth Gantasala: Looks good to me, but someone else must approve
  Jason Fehr: Looks good to me, but someone else must approve
  Quanlong Huang: Looks good to me, approved
  Impala Public Jenkins: Verified

--
To view, visit http://gerrit.cloudera.org:8080/21107
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia6e4cd1e9492e3ce75f5089038b90d0af4fbdb0f
Gerrit-Change-Number: 21107
Gerrit-PatchSet: 2
Gerrit-Owner: Riza Suminto <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>
Gerrit-Reviewer: Sai Hemanth Gantasala <[email protected]>

Reply via email to