You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2020/04/21 05:51:18 UTC

[impala] branch master updated: IMPALA-9666 Correct a log message in TestImpalaShellInteractive

This is an automated email from the ASF dual-hosted git repository.

tarmstrong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git


The following commit(s) were added to refs/heads/master by this push:
     new e11d02a  IMPALA-9666 Correct a log message in TestImpalaShellInteractive
e11d02a is described below

commit e11d02adcbaed38d1d0d09549383408ce33fa234
Author: Andrew Sherman <as...@cloudera.com>
AuthorDate: Thu Apr 16 17:32:07 2020 -0700

    IMPALA-9666 Correct a log message in TestImpalaShellInteractive
    
    When _wait_for_num_open_sessions() calls wait_for_metric_value() and
    wait_for_metric_value() hits an assertion error then
    _wait_for_num_open_sessions() catches the exception and attempts to log
    a descriptive string that was passed to it as a parameter. The logging
    call does not have a '%s' directive, which results in the failure being
    reported as
     "TypeError: not all arguments converted during string formatting".
    Fix this by adding the '%s' directive to the logging call.
    
    Change-Id: Icfd7baed153dadceb953df30beba180128055c92
    Reviewed-on: http://gerrit.cloudera.org:8080/15751
    Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>