ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jun aoki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-7810) TestAlerts fails when executed with python2.6
Date Mon, 20 Oct 2014 23:56:34 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-7810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

jun aoki updated AMBARI-7810:
-----------------------------
    Attachment: AMBARI-7810.patch

> TestAlerts fails when executed with python2.6
> ---------------------------------------------
>
>                 Key: AMBARI-7810
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7810
>             Project: Ambari
>          Issue Type: Bug
>          Components: test
>            Reporter: jun aoki
>            Assignee: jun aoki
>             Fix For: 1.7.0, 2.0.0
>
>         Attachments: AMBARI-7810.patch
>
>
> {code}
> [2] Test fails due to unsupported unit test method.
> ======================================================================
> ERROR: test_alert_collector_purge (TestAlerts.TestAlerts)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/tmp/ambari/ambari-agent/src/test/python/ambari_agent/TestAlerts.py", line
> 259, in test_alert_collector_purge
>     self.assertIsNotNone(collector.alerts()[0])
> AttributeError: 'TestAlerts' object has no attribute 'assertIsNotNone'
> ----------------------------------------------------------------------
> Ran 316 tests in 35.389s
> FAILED (errors=1)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message