Michael Smith has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/23955


Change subject: IMPALA-13419: Improve test_http_socket_timeout
......................................................................

IMPALA-13419: Improve test_http_socket_timeout

Uses a debug action in ExecuteStatement to add a sleep so we can test a
longer http_socket_timeout_s setting, which makes the test more
consistent. Fixes test failures with ASAN builds.

Fixes a DCHECK failure exposed by this test where registration fails
because the session has been closed and therefore the query driver was
not finalized:

  760958 impala-server.cc:1522] ...] RegisterQuery(): session has been closed, 
ignoring query.
  760958 query-driver.cc:46] Check failed: finalized_.Load() Finalize() must 
have been called

Testing: ran test_http_socket_timeout a bunch of times with ASAN.

Change-Id: Idf31bb1752586ebc296e5e8d62c035bac7371dfb
---
M be/src/runtime/query-driver.cc
M be/src/runtime/query-driver.h
M be/src/service/impala-server.cc
M tests/shell/test_shell_commandline.py
4 files changed, 20 insertions(+), 7 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idf31bb1752586ebc296e5e8d62c035bac7371dfb
Gerrit-Change-Number: 23955
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <[email protected]>

Reply via email to