[
https://issues.apache.org/jira/browse/WINK-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741471#action_12741471
]
Bryant Luk commented on WINK-127:
---------------------------------
Ahh, I misread the original failure log. I can re-produce the original error
by setting the timezone to "(GMT) Greenwich Mean Time : Dublin, Edinburgh,
Lisbon, London" and checking the Automatically adjust clock for daylight
savings time in that Windows Time Zone box.
I still get errors around the United States time zones (-0600 Central Time (US
& Canada) in particular) and Moscow (GMT+0300).
I changed the line:
if (TimeZone.getDefault().useDaylightTime()) {
to:
if (TimeZone.getDefault().useDaylightTime() &&
TimeZone.getDefault().getRawOffset() == 0) {
and that seemed to work a bit better (passing on the GMT and the other time
zones where it is failing for me).
> Test failure with Wink 0.1 tag
> ------------------------------
>
> Key: WINK-127
> URL: https://issues.apache.org/jira/browse/WINK-127
> Project: Wink
> Issue Type: Bug
> Components: Testsuite
> Reporter: Sebb
> Assignee: Michael Elman
> Fix For: 0.1
>
> Attachments: org.apache.wink.example.locking.LockingTest-output.txt,
> org.apache.wink.example.locking.LockingTest.txt,
> TEST-org.apache.wink.example.locking.LockingTest.xml
>
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.wink.example.locking.LockingTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.578 sec <<<
> FAILURE!
> Results :
> Failed tests:
> testLockingExample(org.apache.wink.example.locking.LockingTest)
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
> Surefire files to follow
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.