ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Nechiporenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-5421) Some unit test fail depending on timezone
Date Thu, 10 Apr 2014 13:51:19 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-5421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Nechiporenko updated AMBARI-5421:
--------------------------------------

    Description: 
{noformat}
 ✖ 3 of 2854 tests failed:

  1) date #dateFormat Correct timestamps:
      actual expected
      "TueMon, Oct 0908, 2012 0620:09

  2) date #dateFormatShort Correct timestamps:
      actual expected
      "TueMon Oct 098 2012"

  3) App.UptimeTextDashboardWidgetView #timeConverter timestamp 0:
      actual expected
      "ThuWed JanDec 031 197069"
{noformat}

  was:
{noformat}
 ✖ 3 of 2854 tests failed:

  1) date #dateFormat Correct timestamps:

      actual expected

      "TueMon, Oct 0908, 2012 0620:09"

      at file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/chai/chai.js:925
      at assertEqual (file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/chai/chai.js:1402)
      at file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/chai/chai.js:3627
      at file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/public/test/javascripts/test.js:9989

  2) date #dateFormatShort Correct timestamps:

      actual expected

      "TueMon Oct 098 2012"

      at file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/chai/chai.js:925
      at assertEqual (file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/chai/chai.js:1402)
      at file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/chai/chai.js:3627
      at file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/public/test/javascripts/test.js:10002

  3) App.UptimeTextDashboardWidgetView #timeConverter timestamp 0:

      actual expected

      "ThuWed JanDec 031 197069"

      at file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/chai/chai.js:925
      at assertEqual (file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/chai/chai.js:1402)
      at file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/chai/chai.js:3627
      at file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/public/test/javascripts/test.js:14317
      at file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/mocha/mocha.js:4039
      at file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/mocha/mocha.js:4404
      at file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/mocha/mocha.js:4463
      at next (file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/mocha/mocha.js:4330)
      at file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/mocha/mocha.js:4339
      at next (file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/mocha/mocha.js:4287)
      at file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/mocha/mocha.js:4307
      at timeslice (file:///Users/yusakusako/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/mocha/mocha.js:5279)
{noformat}


> Some unit test fail depending on timezone
> -----------------------------------------
>
>                 Key: AMBARI-5421
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5421
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.6.0
>            Reporter: Oleg Nechiporenko
>            Assignee: Oleg Nechiporenko
>             Fix For: 1.6.0
>
>
> {noformat}
>  ✖ 3 of 2854 tests failed:
>   1) date #dateFormat Correct timestamps:
>       actual expected
>       "TueMon, Oct 0908, 2012 0620:09
>   2) date #dateFormatShort Correct timestamps:
>       actual expected
>       "TueMon Oct 098 2012"
>   3) App.UptimeTextDashboardWidgetView #timeConverter timestamp 0:
>       actual expected
>       "ThuWed JanDec 031 197069"
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message