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

Myrna van Lunteren closed DERBY-2318.
-------------------------------------

    Resolution: Fixed
    Derby Info:   (was: [Regression])

Unfortunately (or fortunately?) we can't skip running this test for both ibm15 
and weme6.1. 

The failure was due to an extra line in the stack trace for a new Throwable; 
ibm15 and weme6.1 both showed a line for Throwable<init>.

I hesitated between disabling this test altogether, spending time to come up 
with a different way of doing it (because, indeed, it's not necessarily valid) 
and accepting a range of values. In the end, I decided for a band-aid - assume 
there's only one Throwable line and reduce the count.

But, this is really a band-aid. I suspect this test may cause trouble in the 
future, with new jvms or jits...

> testStreams(org.apache.derbyTesting.functionTests.tests.lang.StreamsTest) 
> failed  on weme6.1 jvm/
> -------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2318
>                 URL: https://issues.apache.org/jira/browse/DERBY-2318
>             Project: Derby
>          Issue Type: Test
>    Affects Versions: 10.3.0.0
>         Environment: Java Version:    J2ME Foundation Specification v1.1
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\weme6.1
>            Reporter: Suresh Thalamati
>         Assigned To: Myrna van Lunteren
>            Priority: Minor
>             Fix For: 10.3.0.0
>
>
> Time: 1,021.188
> There was 1 failure:
> 1) 
> testStreams(org.apache.derbyTesting.functionTests.tests.lang.StreamsTest)junit.framework.AssertionFailedError:
>  FAILED!! level difference not expected since streams are materialized. 
> expected:<48> but was:<49>
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.StreamsTest.testStreams(StreamsTest.java:118)
>       at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:76)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
>       at junit.extensions.TestSetup.run(TestSetup.java:23)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
>       at junit.extensions.TestSetup.run(TestSetup.java:23)
> FAILURES!!!
> Tests run: 1285,  Failures: 1,  Errors: 0

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