Repository: impala Updated Branches: refs/heads/master 0e1de31ba -> d48ffc2d4
IMPALA-7661: Increase the sleep time in test_reconnect test_reconnect is flaky in ASAN because the time waited for impala shell to connect to impalad is not enough. This patch increases the sleep time from 2 secs to 5 secs. Change-Id: Ia009808adac0da1cfa00b9e9dd41cc276d49c6eb Reviewed-on: http://gerrit.cloudera.org:8080/11589 Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Project: http://git-wip-us.apache.org/repos/asf/impala/repo Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/f8b2eb58 Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/f8b2eb58 Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/f8b2eb58 Branch: refs/heads/master Commit: f8b2eb585ad4c5a57763e07a88266a3a757432a2 Parents: 0e1de31 Author: Tianyi Wang <tw...@cloudera.com> Authored: Thu Oct 4 18:07:21 2018 -0700 Committer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Committed: Fri Oct 5 22:05:24 2018 +0000 ---------------------------------------------------------------------- tests/shell/test_shell_interactive.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/impala/blob/f8b2eb58/tests/shell/test_shell_interactive.py ---------------------------------------------------------------------- diff --git a/tests/shell/test_shell_interactive.py b/tests/shell/test_shell_interactive.py index 860803d..4d071de 100755 --- a/tests/shell/test_shell_interactive.py +++ b/tests/shell/test_shell_interactive.py @@ -231,14 +231,14 @@ class TestImpalaShellInteractive(object): num_sessions_target = get_num_open_sessions(target_impala_service) # Connect to localhost:21000 (default) p = ImpalaShell() - sleep(2) + sleep(5) # Make sure we're connected <hostname>:21000 assert get_num_open_sessions(initial_impala_service) == num_sessions_initial + 1, \ "Not connected to %s:21000" % hostname p.send_cmd("connect %s:21001" % hostname) # Wait for a little while - sleep(2) + sleep(5) # The number of sessions on the target impalad should have been incremented. assert get_num_open_sessions(target_impala_service) == num_sessions_target + 1, \ "Not connected to %s:21001" % hostname