[
https://issues.apache.org/jira/browse/DERBY-1726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606017#action_12606017
]
Myrna van Lunteren commented on DERBY-1726:
-------------------------------------------
Thanks for doing these experiments...
Hm, yes, of course - sadly, the master specifically expects PST.
Well, I guess it's better if the test gets only run in PST than not at
all...(or we'd have to somehow massage the master).
If you run normally, is the property 'user.timezone' set for you? And if you
set timezone to PST?
For me, when I print out the properties, user.timezone is either not set at
all, or set to an empty string...
What else could I check for here to ensure the test does only run in PST?
> Make i18n/LocalizedDisplay.sql and i18n/LocalizedConnectionAttribute.sql
> behave equally on different platforms
> --------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-1726
> URL: https://issues.apache.org/jira/browse/DERBY-1726
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.2.1.6
> Reporter: Knut Anders Hatlen
> Priority: Minor
> Attachments: DERBY-1726_1.diff, DERBY-1726_2.diff, DERBY-1726_3.diff,
> DERBY-1726_3.stat, props.java
>
>
> Myrna van Lunteren commented on DERBY-244:
> The one remark I have is that I still cannot get the LocalizedDisplay.sql and
> LocalizedConnectionAttribute.sql test from the i18n directory to behave the
> same under windows and Linux (with sun jdk 1.4.2.).
> For windows, I had to update the masters for these tests, but running them on
> Linux still failed for me.
> With jdk131, ibm131 and ibm142 the LocalizedDisplay.sql test hung, and
> LocalizedConnectionAttribute exits with a MalformedInputException.
> It would be nice if we could figure out a way to add these tests to the
> suites...
> --- stack of LocalizedConnectionAttribute on Linux ---
> Exception in thread "main" sun.io.MalformedInputException
> at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled Code))
> at
> sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:287)
> at
> sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:337)
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:223)
> at java.io.InputStreamReader.read(InputStreamReader.java:208)
> at java.io.BufferedReader.fill(BufferedReader.java:153)
> at java.io.BufferedReader.readLine(BufferedReader.java:316)
> at java.io.BufferedReader.readLine(BufferedReader.java:379)
> at
> org.apache.derbyTesting.functionTests.harness.RunTest.setDirectories(RunTest.java:729)
> at
> org.apache.derbyTesting.functionTests.harness.RunTest.main(RunTest.java:262)
> ----------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.