Riza Suminto has uploaded this change for review. ( 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 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 10 times and pass. Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653 --- M tests/custom_cluster/test_events_custom_configs.py 1 file changed, 51 insertions(+), 3 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/00/22400/1 -- 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: newchange Gerrit-Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653 Gerrit-Change-Number: 22400 Gerrit-PatchSet: 1 Gerrit-Owner: Riza Suminto <[email protected]>
