[ 
https://issues.apache.org/jira/browse/DERBY-5100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Knut Anders Hatlen resolved DERBY-5100.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.8.0.0
         Assignee: Knut Anders Hatlen

Committed revision 1082226.

> GetCurrentPropertiesTest depends on implicit ordering of test cases
> -------------------------------------------------------------------
>
>                 Key: DERBY-5100
>                 URL: https://issues.apache.org/jira/browse/DERBY-5100
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.8.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>             Fix For: 10.8.0.0
>
>         Attachments: derby-5100-1a.diff
>
>
> The test cases in GetCurrentPropertiesTest must run in the order in which 
> they are defined in the source file. If for example the test case 
> testPropertiesTraceOn runs first, the test will fail with the following stack 
> trace:
> 1) 
> testPropertiesTraceOn(org.apache.derbyTesting.functionTests.tests.derbynet.GetCurrentPropertiesTest)junit.framework.ComparisonFailure:
>  expected:<[tru]e> but was:<[fals]e>
>       at 
> org.apache.derbyTesting.functionTests.tests.derbynet.GetCurrentPropertiesTest.testPropertiesTraceOn(GetCurrentPropertiesTest.java:206)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
> (...)
> Seen in the nightly tests, for example here: 
> http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.7/testing/testlog/vista-64/1076682-suitesAll_diff.txt

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to