You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "jun aoki (JIRA)" <ji...@apache.org> on 2014/10/21 01:56:34 UTC
[jira] [Updated] (AMBARI-7810) TestAlerts fails when executed with
python2.6
[ 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)