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

Change subject: IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload
......................................................................

IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload

Test test_invalidate_stale_partition_on_reload continues to be flaky. It
is suspected that the test order is not deterministic enough to ensure
expected Coordinator log lines are printed consistently.

This patch rewrite the test and make it more deterministic by:
1. Set shorter hms_event_polling_interval_s and
   statestore_heartbeat_frequency_ms.
2. Running the "select *" query twice: before, and after the Hive insert
   query.
3. Wait for a full statestore_heartbeat_frequency_ms before inspecting
   logs and run the second query.
4. Validate that the second 'select *' query use higher table version
   number than the first one.

Testing:
- Loop the test 100 times and pass in local machine.

Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
Reviewed-on: http://gerrit.cloudera.org:8080/22400
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M tests/custom_cluster/test_events_custom_configs.py
1 file changed, 51 insertions(+), 3 deletions(-)

Approvals:
  Impala Public Jenkins: Looks good to me, approved; Verified

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
Gerrit-Change-Number: 22400
Gerrit-PatchSet: 5
Gerrit-Owner: Riza Suminto <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[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