ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [12/51] [abbrv] ambari git commit: AMBARI-14429. Ambari Web Unit Test failures on trunk (rzang)
Date Wed, 23 Dec 2015 15:06:51 GMT
AMBARI-14429. Ambari Web Unit Test failures on trunk (rzang)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/32e86548
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/32e86548
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/32e86548

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 32e86548cb69b244f11ba08e927cdda2f96f9331
Parents: 2325224
Author: Richard Zang <rzang@apache.org>
Authored: Fri Dec 18 10:56:58 2015 -0800
Committer: Richard Zang <rzang@apache.org>
Committed: Fri Dec 18 10:56:58 2015 -0800

----------------------------------------------------------------------
 ambari-web/test/models/configs/service_config_version_test.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/32e86548/ambari-web/test/models/configs/service_config_version_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/models/configs/service_config_version_test.js b/ambari-web/test/models/configs/service_config_version_test.js
index 06cf915..a447d6b 100644
--- a/ambari-web/test/models/configs/service_config_version_test.js
+++ b/ambari-web/test/models/configs/service_config_version_test.js
@@ -138,7 +138,8 @@ describe('App.ServiceConfigVersion', function () {
 
     it("should return created date", function() {
       model.set('createTime', 1450267588961);
-      expect(model.get('createdDate')).to.equal('Wed, Dec 16, 2015 14:06');
+      moment.tz.setDefault('America/Los_Angeles');
+      expect(model.get('createdDate')).to.equal('Wed, Dec 16, 2015 04:06');
     });
 
   });


Mime
View raw message