[ 
https://issues.apache.org/jira/browse/DERBY-4096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682526#action_12682526
 ] 

Dag H. Wanvik commented on DERBY-4096:
--------------------------------------

I suspect Knut is correct; the test parameterizes newlines to be platform 
dependent,
but it may be that in this case, UNIX style newlines are still being used. 
I don't run on a Windows platform right now, but if that theory is correct, 
just replacing the "nl" 
occurences with "\n" should make it work. I'll see if I can find a Windows 
platform and try it unless somebody beats me to it.



> 'testRunTimeStatistics(org.apache.derbyTesting.functionTests.tests.lang.OffsetFetchNextTest)junit.framework.AssertionFailedError'
>  on Windows
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4096
>                 URL: https://issues.apache.org/jira/browse/DERBY-4096
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.5.0.0
>         Environment: Windows
>            Reporter: Ole Solberg
>            Priority: Minor
>
> See e.g. 
> http://dbtg.thresher.com/derby/test/Daily/jvm1.6/testing/Limited/testSummary-754693.html
> http://dbtg.thresher.com/derby/test/Daily/jvm1.5/testing/Limited/testSummary-754693.html
> http://dbtg.thresher.com/derby/test/Daily/jvm1.4/testing/Limited/testSummary-754693.html
> There were 2 failures:
> 1) 
> testRunTimeStatistics(org.apache.derbyTesting.functionTests.tests.lang.OffsetFetchNextTest)junit.framework.AssertionFailedError
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.OffsetFetchNextTest.testRunTimeStatistics(OffsetFetchNextTest.java:605)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:105)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>       at junit.extensions.TestSetup.run(TestSetup.java:25)
>       at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 2) 
> testRunTimeStatistics(org.apache.derbyTesting.functionTests.tests.lang.OffsetFetchNextTest)junit.framework.AssertionFailedError
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.OffsetFetchNextTest.testRunTimeStatistics(OffsetFetchNextTest.java:605)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:105)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>       at junit.extensions.TestSetup.run(TestSetup.java:25)
>       at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>       at junit.extensions.TestSetup.run(TestSetup.java:25)
>       at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>       at junit.extensions.TestSetup.run(TestSetup.java:25)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to