ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-17812) UT failure in trunk - test_start_default_embedded
Date Wed, 20 Jul 2016 15:16:20 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-17812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15386013#comment-15386013
] 

Dmytro Sen commented on AMBARI-17812:
-------------------------------------

Unit test passed

{code}
[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Main ....................................... SUCCESS [3.453s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.043s]
[INFO] Ambari Views ...................................... SUCCESS [3.537s]
[INFO] ambari-metrics .................................... SUCCESS [0.540s]
[INFO] Ambari Metrics Common ............................. SUCCESS [0.821s]
[INFO] Ambari Server ..................................... SUCCESS [1:00.510s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
{code}

> UT failure in trunk - test_start_default_embedded
> -------------------------------------------------
>
>                 Key: AMBARI-17812
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17812
>             Project: Ambari
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.4.0
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17812.patch
>
>
> {code}
> OK
> ----------------------------------------------------------------------
> Failed tests:
> FAIL: test_start_default_embedded (test_metrics_collector.TestMetricsCollector)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
>     return func(*args, **keywargs)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/src/test/python/stacks/2.0.6/AMBARI_METRICS/test_metrics_collector.py",
line 105, in test_start_default_embedded
>     action = ['delete']
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
line 279, in assertResourceCalled
>     self.assertEquals(resource_type, resource.__class__.__name__)
> AssertionError: 'Directory' != 'File'
> ----------------------------------------------------------------------
> {code}



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

Mime
View raw message