[ https://issues.apache.org/jira/browse/IMPALA-8744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881646#comment-16881646 ]
ASF subversion and git services commented on IMPALA-8744: --------------------------------------------------------- Commit 414b0122674c1b7cd7022df9d0d39d9b7401e48a in impala's branch refs/heads/master from Michael Ho [ https://gitbox.apache.org/repos/asf?p=impala.git;h=414b012 ] IMPALA-8744: Fix test_session_expiration.py to work with Python 2.6 This patches fixes a formatting string to use "{0}" rather than "{}" as Python 2.6 doesn't support "{}" Testing done: - Ran the test on Centos6 platform with Python 2.6 Change-Id: I3a914a9ca881181d47bee68641b9c7affbfc0d54 Reviewed-on: http://gerrit.cloudera.org:8080/13819 Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> > TestSessionExpiration.test_closing_idle_connection fails on Centos 6 due to > Python 2.6 incompatibility > ------------------------------------------------------------------------------------------------------ > > Key: IMPALA-8744 > URL: https://issues.apache.org/jira/browse/IMPALA-8744 > Project: IMPALA > Issue Type: Bug > Components: Infrastructure > Affects Versions: Impala 3.3.0 > Reporter: Joe McDonnell > Assignee: Michael Ho > Priority: Blocker > Labels: broken-build > > custom_cluster/test_session_expiry.py fails with the following message: > {noformat} > custom_cluster/test_session_expiration.py:131: in test_closing_idle_connection > "impala.thrift-server.{}-frontend.connections-in-use".format(protocol) > E ValueError: zero length field name in format{noformat} > The format needs to use "\{0}" rather than "{}", because Python 2.6 doesn't > support "{}" -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org