[ https://issues.apache.org/jira/browse/AMBARI-25573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17224575#comment-17224575 ]
Dmytro Grinenko commented on AMBARI-25573: ------------------------------------------ The commit causing issues with tests, reverting... PhantomJS 2.1.1 (Linux 0.0.0) Ambari Web Unit tests test/mixins/common/widgets/export_metrics_mixin_test App.ExportMetricsMixin #exportGraphDataSuccessCallback export to CSV "before each" hook for "downloadTextFile was called needed number of times" FAILEDPhantomJS 2.1.1 (Linux 0.0.0) Ambari Web Unit tests test/mixins/common/widgets/export_metrics_mixin_test App.ExportMetricsMixin #exportGraphDataSuccessCallback export to CSV "before each" hook for "downloadTextFile was called needed number of times" FAILED undefined is not an object (evaluating 'this.get('targetView').title.replace') getCustomFileName@app/mixins/common/widgets/export_metrics_mixin.js:9:2097 exportGraphDataSuccessCallback@app/mixins/common/widgets/export_metrics_mixin.js:9:3097 test/mixins/common/widgets/export_metrics_mixin_test.js:209:45 callFn@node_modules/mocha/mocha.js:4471:25 run@node_modules/mocha/mocha.js:4464:13 next@node_modules/mocha/mocha.js:4810:13 node_modules/mocha/mocha.js:4832:9 timeslice@node_modules/mocha/mocha.js:75:27PhantomJS 2.1.1 (Linux 0.0.0): Executed 13188 of 22478 (1 FAILED) (skipped 33) (0 secs / 4.611 secs)PhantomJS 2.1.1 (Linux 0.0.0) Ambari Web Unit tests test/mixins/common/widgets/export_metrics_mixin_test App.ExportMetricsMixin #exportGraphDataSuccessCallback export to JSON "before each" hook for "downloadTextFile was called needed number of times" FAILED undefined is not an object (evaluating 'this.get('targetView').title.replace') getCustomFileName@app/mixins/common/widgets/export_metrics_mixin.js:9:2097 exportGraphDataSuccessCallback@app/mixins/common/widgets/export_metrics_mixin.js:9:3097 test/mixins/common/widgets/export_metrics_mixin_test.js:209:45 callFn@node_modules/mocha/mocha.js:4471:25 run@node_modules/mocha/mocha.js:4464:13 next@node_modules/mocha/mocha.js:4810:13 node_modules/mocha/mocha.js:4832:9 timeslice@node_modules/mocha/mocha.js:75:27 > Ambari Metrics save as JSON/CSV use metricName instead of default name. > ------------------------------------------------------------------------ > > Key: AMBARI-25573 > URL: https://issues.apache.org/jira/browse/AMBARI-25573 > Project: Ambari > Issue Type: Improvement > Affects Versions: 2.7.5 > Reporter: akiyamaneko > Priority: Major > Labels: pull-request-available, widget > Fix For: 2.7.6 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > The name of the metrics data exported in Ambari-web is always data.json/csv, > and the exported file must be renamed to distinguish which metric the data > belongs to. -- This message was sent by Atlassian Jira (v8.3.4#803005)