You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2015/08/13 19:00:48 UTC
ambari git commit: AMBARI-12760 FE: Add experimental flag to show
"page loaded in X seconds" on important pages, additional patch (atkach)
Repository: ambari
Updated Branches:
refs/heads/branch-2.1 ce8648ad9 -> 9b35ae0de
AMBARI-12760 FE: Add experimental flag to show "page loaded in X seconds" on important pages, additional patch (atkach)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9b35ae0d
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9b35ae0d
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9b35ae0d
Branch: refs/heads/branch-2.1
Commit: 9b35ae0deb9480b22c1c34295781d0c78fde470c
Parents: ce8648a
Author: Andrii Tkach <at...@hortonworks.com>
Authored: Thu Aug 13 20:00:38 2015 +0300
Committer: Andrii Tkach <at...@hortonworks.com>
Committed: Thu Aug 13 20:00:38 2015 +0300
----------------------------------------------------------------------
ambari-web/test/utils/load_timer_test.js | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/9b35ae0d/ambari-web/test/utils/load_timer_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/utils/load_timer_test.js b/ambari-web/test/utils/load_timer_test.js
index ca84f47..5955fc7 100644
--- a/ambari-web/test/utils/load_timer_test.js
+++ b/ambari-web/test/utils/load_timer_test.js
@@ -26,7 +26,12 @@ describe('App.loadTimer', function () {
}
};
+ beforeEach(function() {
+ App.set('supports.showPageLoadTime', true);
+ });
+
afterEach(function () {
+ App.set('supports.showPageLoadTime', false);
App.loadTimer.set('timeStampCache', {});
});