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


Change subject: IMPALA-13731: Deflake TestAsyncLoadData.test_async_load
......................................................................

IMPALA-13731: Deflake TestAsyncLoadData.test_async_load

This patch attempt to deflake TestAsyncLoadData::test_async_load by
moving the injection point CRS_DELAY_BEFORE_LOAD_DATA before query
transition to RUNNING state in async mode. This way, async code
path (enable_async_ddl_execution=true) with also delay its transition to
RUNNING state until 3 seconds pass. wait_start is also assigned the same
initial value as exec_start.

This patch does not change assertion / behavior in sync code
path (enable_async_ddl_execution=false).

Testing:
Loop and pass TestAsyncLoadData 50 times.

Change-Id: I8776a432e60a1167ad54778e81046421df15cf37
---
M be/src/service/client-request-state.cc
M tests/metadata/test_load.py
2 files changed, 7 insertions(+), 5 deletions(-)



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

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

Reply via email to