Zhe (Joe) Wang created AMBARI-18257:
---------------------------------------
Summary: graphView test case failed in Ambari Web Build on trunk
Key: AMBARI-18257
URL: https://issues.apache.org/jira/browse/AMBARI-18257
Project: Ambari
Issue Type: Bug
Components: ambari-web
Affects Versions: trunk
Reporter: Zhe (Joe) Wang
Assignee: Zhe (Joe) Wang
Fix For: trunk
Intermittent test failure
{code}
Metrics with name "m1" not found to compute expression
[91m â[0m[31m 2 of 30013 tests failed[0m[90m:[0m
[0m 1) Ambari Web Unit tests test/views/common/widget/graph_widget_view_test
App.GraphWidgetView #graphView #didInsertElement() setYAxisFormatter should be
called:
[0m[31m TypeError: '<(subclass of App.ChartLinearTimeView):ember61864>'
is not a function (evaluating 'callback()')
(file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-web/public/javascripts/app.js:179147)[0m[90m
[0m
[0m 2) Ambari Web Unit tests test/views/common/widget/graph_widget_view_test
App.GraphWidgetView #graphView #didInsertElement() "after each" hook:
[0m[31m TypeError: 'undefined' is not a function (evaluating
'graphView.setYAxisFormatter.restore()')[0m[90m
at
file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-web/public/test/javascripts/test.js:108452
at
file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-web/node_modules/mocha/mocha.js:4039
at next
(file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-web/node_modules/mocha/mocha.js:4303)
at
file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-web/node_modules/mocha/mocha.js:4307
at timeslice
(file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-web/node_modules/mocha/mocha.js:5279)
[0m
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0
{code}
https://builds.apache.org/job/Ambari-trunk-Commit/5576/ and several others.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)