You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Antonenko Alexander (JIRA)" <ji...@apache.org> on 2014/04/02 14:54:15 UTC

[jira] [Commented] (AMBARI-5314) Ambari Web unit tests don't run due to an error

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

Antonenko Alexander commented on AMBARI-5314:
---------------------------------------------

+1 for the patch

> Ambari Web unit tests don't run due to an error
> -----------------------------------------------
>
>                 Key: AMBARI-5314
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5314
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.5.1
>            Reporter: Oleg Nechiporenko
>            Assignee: Oleg Nechiporenko
>             Fix For: 1.5.1
>
>         Attachments: AMBARI-5314.patch
>
>
> {noformat}
> usaku-MacBook-Pro:ambari-web yusakusako$ mocha-phantomjs public/test/test.htmlCLDR.pluralForm not found. Em.I18n will not support count-based inflection.
> Missing translation: ok
> Missing translation: common.cancel
> failed on loading cluster name
> Missing translation: apps.table.column.appId
> Missing translation: common.name
> Missing translation: common.type
> Missing translation: common.user
> Missing translation: apps.avgTable.jobs
> Missing translation: apps.avgTable.input
> Missing translation: apps.avgTable.output
> Missing translation: apps.avgTable.duration
> Missing translation: apps.table.column.runDate
> TypeError: 'undefined' is not an object (evaluating 'App.Host.find')
>   file:///Users/yusakusako/ambari-vagrant/centos/ambari/ambari-web/public/javascripts/app.js:18691
>   file:///Users/yusakusako/ambari-vagrant/centos/ambari/ambari-web/public/javascripts/vendor.js:47
>   file:///Users/yusakusako/ambari-vagrant/centos/ambari/ambari-web/public/javascripts/vendor.js:56
>   file:///Users/yusakusako/ambari-vagrant/centos/ambari/ambari-web/public/javascripts/vendor.js:40
>   file:///Users/yusakusako/ambari-vagrant/centos/ambari/ambari-web/public/test/javascripts/test.js:672
>   file:///Users/yusakusako/ambari-vagrant/centos/ambari/ambari-web/public/javascripts/vendor.js:47
>   file:///Users/yusakusako/ambari-vagrant/centos/ambari/ambari-web/public/javascripts/vendor.js:56
>   file:///Users/yusakusako/ambari-vagrant/centos/ambari/ambari-web/public/test/tests.js:25
> {noformat}
> This is on trunk, 945bb7ac12e336763e52225c06b217f473d2f941.
> Not sure if this is a setup issue or not.
> The error is on the line: allHosts: App.Host.find() in App.WizardController.



--
This message was sent by Atlassian JIRA
(v6.2#6252)