You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (Jira)" <ji...@apache.org> on 2022/08/12 11:20:00 UTC

[jira] [Closed] (SLING-10698) several io.sightly.tck dateformat tests are sensitive to the timezone of the server

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

Radu Cotescu closed SLING-10698.
--------------------------------

> several io.sightly.tck dateformat tests are sensitive to the timezone of the server
> -----------------------------------------------------------------------------------
>
>                 Key: SLING-10698
>                 URL: https://issues.apache.org/jira/browse/SLING-10698
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Eric Norman
>            Assignee: Eric Norman
>            Priority: Minor
>             Fix For: Scripting HTL Testing 1.0.32-1.4.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Need to use GMT timezone so dateformat related tests from io.sightly.tck are not off by hours
> If the sling runtime is not using the GMT timezone, these 4 tests may fail:
> {noformat}
> junit.framework.AssertionFailedError: Expected value '01-12-1918' for selector '#format-date-1'. Instead we got '30-11-1918'. Please check the expected markup from /testfiles/output/exprlang/filters.html.
>     at io.sightly.tck.tests.TestBuilder$1.runTest(TestBuilder.java:146)Expression Filters: @format - #format-date-3(io.sightly.tck.tests.TestBuilder$1)  Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Expected value 'December' for selector '#format-date-3'. Instead we got 'November'. Please check the expected markup from /testfiles/output/exprlang/filters.html.
>     at io.sightly.tck.tests.TestBuilder$1.runTest(TestBuilder.java:146)Expression Filters: @format - #format-date-4(io.sightly.tck.tests.TestBuilder$1)  Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Expected value 'Dezember' for selector '#format-date-4'. Instead we got 'November'. Please check the expected markup from /testfiles/output/exprlang/filters.html.
>     at io.sightly.tck.tests.TestBuilder$1.runTest(TestBuilder.java:146)Expression Filters: @format - #format-date-5(io.sightly.tck.tests.TestBuilder$1)  Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Expected value 'Wochentag: Sonntag' for selector '#format-date-5'. Instead we got 'Wochentag: Samstag'. Please check the expected markup from /testfiles/output/exprlang/filters.html.
>     at io.sightly.tck.tests.TestBuilder$1.runTest(TestBuilder.java:146){noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)