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

Knut Anders Hatlen commented on DERBY-6529:
-------------------------------------------

Might be related to the use of PrintStream.println() in the test. It uses the 
platform's line terminator, but only for the newline that it adds at the end of 
the string. It won't replace occurrences of \n inside the string. That means 
println("a\nb") will print the string "a\nb\r\n" on Windows, rather than 
"a\r\nb\r\n" or "a\nb\n".

> nightly regression test failure in newly added junit test TriggerGeneralTest
> ----------------------------------------------------------------------------
>
>                 Key: DERBY-6529
>                 URL: https://issues.apache.org/jira/browse/DERBY-6529
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.11.0.0
>         Environment: is failing on windows ibm16 and ibm17, is not failing on 
> linux ibm16 and ibm17
>            Reporter: Mike Matrigali
>         Attachments: test.out, test.out
>
>
> consistent nightly regression test failure in testTriggersInGeneral newly
> added junit test.  The error happens consistently in windows ibm16 and 
> ibm17 but not in linux ibm16 and ibm17.
> summary of failures: 
> 1) 
> testTriggersInGeneral(org.apache.derbyTesting.functionTests.tests.lang.TriggerGeneralTest)junit.framework.ComparisonFailure:
>  expected:<...,(3,3,'3'),(4,4,'4')[
> 2) 
> testTriggersInGeneral(org.apache.derbyTesting.functionTests.tests.lang.TriggerGeneralTest)junit.framework.ComparisonFailure:
>  expected:<...,(3,3,'3'),(4,4,'4')[
> 3) 
> testDerby5866TriggerExecutionOrder(org.apache.derbyTesting.functionTests.tests.upgradeTests.Changes10_11)junit.framework.AssertionFailedError:
>  Column value mismatch @ column 'Y', row 1:



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

Reply via email to