db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Matrigali (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6529) nightly regression test failure in newly added junit test TriggerGeneralTest
Date Wed, 26 Mar 2014 23:14:16 GMT

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

Mike Matrigali commented on DERBY-6529:
---------------------------------------

the problem seems to be the "expected" string built by the program at line 444.  The code
looks right
to me as it adds \n\n at the end of the expected string, and looking in test.out that is what
the test string
has.  But for some reason the "expected" string reported by the exception only has a single
new line.
When I added \n\naaa to the end of the expected string it got 2 new lines and the added text
as expected.

I assume this has something to do with window and unix using different line ending in their
files, but not sure how this relates to this code.  All the other \n's in this string seem
to be fine, just this final trailing pair.

> 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)

Mime
View raw message