Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E4F91045D for ; Wed, 2 Apr 2014 12:52:29 +0000 (UTC) Received: (qmail 85825 invoked by uid 500); 2 Apr 2014 12:52:28 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 85643 invoked by uid 500); 2 Apr 2014 12:52:24 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 84458 invoked by uid 99); 2 Apr 2014 12:52:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2014 12:52:16 +0000 Date: Wed, 2 Apr 2014 12:52:16 +0000 (UTC) From: "Oleg Nechiporenko (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-5314) Ambari Web unit tests don't run due to an error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-5314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Nechiporenko updated AMBARI-5314: -------------------------------------- Attachment: AMBARI-5314.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. > [~sgunturi] tried running the tests and got the same error. > The error is on the line: allHosts: App.Host.find() in App.WizardController. -- This message was sent by Atlassian JIRA (v6.2#6252)