ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject ambari git commit: AMBARI-12760 FE: Add experimental flag to show "page loaded in X seconds" on important pages, additional patch (atkach)
Date Thu, 13 Aug 2015 17:00:48 GMT
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 <atkach@hortonworks.com>
Authored: Thu Aug 13 20:00:38 2015 +0300
Committer: Andrii Tkach <atkach@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', {});
   });
 


Mime
View raw message