yanghua commented on a change in pull request #6963: [FLINK-10704] Fix sql
client end to end test failure
URL: https://github.com/apache/flink/pull/6963#discussion_r231025059
##########
File path: flink-end-to-end-tests/test-scripts/elasticsearch-common.sh
##########
@@ -87,6 +87,8 @@ function verify_result_hash {
local numRecords=$3
local hash=$4
+ sleep 20s
Review comment:
@twalthr After many local and Travis tests, I determined that "Executing
SQL: Values -> Elasticsearch (upsert)" is very unstable (statistics count
results). I think it's because of the prematurely getting results from
Elasticsearch. Here I feel that waiting for a while before getting results from
Elasticsearch will reduce the chances of failure. cc @pnowojski
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services