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

Jaimin Jetly reopened AMBARI-19630:
-----------------------------------

This patch breaks existing unit tests as mentioned in the Hadoop QA job
{code}
Failed tests:
FAIL: test_get_component_version_no_build_ids 
(TestVersionSelectUtil.TestVersionSelectUtil)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/Users/Jaimin/vagrant/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py",
 line 1199, in patched
    return func(*args, **keywargs)
  File 
"/Users/Jaimin/vagrant/ambari-vagrant/centos6.4/ambari/ambari-server/src/test/python/TestVersionSelectUtil.py",
 line 137, in test_get_component_version_no_build_ids
    self.assertEquals(version, stack_expected_version)
AssertionError: None != '2.2.1.0'

----------------------------------------------------------------------
Total run:1160
Total errors:0
Total failures:1
ERROR
{code}

I have reverted the patch for now. Please fix the breaking tests

> Ambari should accept stack version in format of x.x.x.x without the build 
> level digits
> --------------------------------------------------------------------------------------
>
>                 Key: AMBARI-19630
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19630
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-trunk
>    Affects Versions: trunk
>            Reporter: Di Li
>            Assignee: Di Li
>             Fix For: trunk
>
>         Attachments: AMBARI-19630.patch, AMBARI-19630-v2.patch
>
>
> Ambari current requires stack version ( used in the repo) as x.x.x.x-xxxx, 
> Ambari should be flexible enough to accept both x.x.x.x-xxxx and x.x.x.x



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

Reply via email to