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

Mike Matrigali updated DERBY-3412:
----------------------------------


is this test failing here because it is running in a different order than other 
jvm's so that issue may be in other tests, or
is this test wrong?  

Here are the changes that happened when this issue started to appear, have not 
narrowed down to one change:
SUBVERSION LOG FROM 620381 TO 620689:
------------------------------------------------------------------------
r620522 | oysteing | 2008-02-11 08:38:11 -0800 (Mon, 11 Feb 2008) | 4 lines

DERBY-3392: Performing failover on a database not being replicated should give 
a more meaningful error message.
Contributed by Narayanan.


------------------------------------------------------------------------
r620499 | oysteing | 2008-02-11 06:54:39 -0800 (Mon, 11 Feb 2008) | 3 lines

DERBY-3359: Make mf final and some other minor clean-up.


------------------------------------------------------------------------
r620485 | kristwaa | 2008-02-11 05:53:32 -0800 (Mon, 11 Feb 2008) | 4 lines

DERBY-3309: Minor cleanups in ClientPooledConnection40 and 
ClientPooledConnection.
This patch fixes the broken synchronization of the list of connection event 
listeners, and also replaces the Vector with an ArrayList.
Patch file: derby-3309-4a-cpc_listeners_synch.diff

------------------------------------------------------------------------
r620483 | oysteing | 2008-02-11 05:14:08 -0800 (Mon, 11 Feb 2008) | 3 lines

DERBY-3359: Make sure to initialize mf in constructor.
Contributed by Narayanan.

------------------------------------------------------------------------
r620480 | kristwaa | 2008-02-11 05:02:38 -0800 (Mon, 11 Feb 2008) | 3 lines

DERBY-3306: jdbc4.StatementEventsTest cannot be run individually in a clean 
environment. This is in fact a more general fix for tests using a DataSource 
obtained through the JUnit framework utility classes to create connections. The 
connections will now default to create the database if it does not exists. The 
accompanying test changes were required to get a clean suites.All run, and 
falls into three categories; test doesn't want to create db, asserting on zero 
warnings or uses connection attributes that conflict with db creation.
Patch file: derby-3306-1c-create_db_by_default_and_test_fixes.diff

------------------------------------------------------------------------
r620469 | kristwaa | 2008-02-11 04:14:17 -0800 (Mon, 11 Feb 2008) | 3 lines

Removed unused, private field 'accumulatedSetReadOnlyWarning_'.
Patch file: n/a

------------------------------------------------------------------------
r620453 | oysteing | 2008-02-11 02:53:18 -0800 (Mon, 11 Feb 2008) | 3 lines

DERBY-3359: Replication dynamically adjust shipping interval for LogShipper.
Contributed by Narayanan.

------------------------------------------------------------------------
r620444 | oysteing | 2008-02-11 01:31:20 -0800 (Mon, 11 Feb 2008) | 4 lines

DERBY-3383: Replication: Make sure stopSlave does not boot the database if not 
already booted.
Contributed by Jorgen Loland


------------------------------------------------------------------------


> junit regression test failure on j2me  in 
> testForwardOnlyNegative(org.apache.derbyTesting.functionTests.tests.lang.ScrollCursors2Test)junit.framework.AssertionFailedError
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3412
>                 URL: https://issues.apache.org/jira/browse/DERBY-3412
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.4.0.0
>         Environment: Java Version:    J2ME Foundation Specification v1.1
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\weme6.1
> Java classpath:  
> c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/tools/java/junit.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/functionTests.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1 build 2600 Service Pack 2
> Java user name:  cloudtest
> Java user home:  C:\Documents and Settings\cloudtest
> Java user dir:   C:\jartest\JarResults.2008-02-11\weme6.1_derbyall
> java.specification.name: J2ME Foundation Specification
> java.specification.version: 1.1
>            Reporter: Mike Matrigali
>
> 5 new failures as of 2/11/08 in the ScrollCursors2Test, only seen in j2me 
> test:
> 1) 
> testForwardOnlyNegative(org.apache.derbyTesting.functionTests.tests.lang.ScrollCursors2Test)junit.framework.AssertionFailedError
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.ScrollCursors2Test.testForwardOnlyNegative(ScrollCursors2Test.java:95)
>       at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
>       at <unknown class>.<unknown method>(Unknown Source)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:99)
>       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 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 2) 
> testForwardOnlyPositive(org.apache.derbyTesting.functionTests.tests.lang.ScrollCursors2Test)junit.framework.AssertionFailedError
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.ScrollCursors2Test.testForwardOnlyPositive(ScrollCursors2Test.java:263)
>       at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
>       at <unknown class>.<unknown method>(Unknown Source)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:99)
>       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 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 3) 
> testScrollInsensitivePositive(org.apache.derbyTesting.functionTests.tests.lang.ScrollCursors2Test)junit.framework.AssertionFailedError
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.ScrollCursors2Test.testScrollInsensitivePositive(ScrollCursors2Test.java:352)
>       at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
>       at <unknown class>.<unknown method>(Unknown Source)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:99)
>       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 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 4) 
> testScrollInsensitiveNegative(org.apache.derbyTesting.functionTests.tests.lang.ScrollCursors2Test)junit.framework.AssertionFailedError
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.ScrollCursors2Test.testScrollInsensitiveNegative(ScrollCursors2Test.java:505)
>       at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
>       at <unknown class>.<unknown method>(Unknown Source)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:99)
>       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 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 5) 
> testCallableStatements(org.apache.derbyTesting.functionTests.tests.lang.ScrollCursors2Test)junit.framework.ComparisonFailure:
>  expected:<...2> but was:<...1>
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.ScrollCursors2Test.testCallableStatements(ScrollCursors2Test.java:580)
>       at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
>       at <unknown class>.<unknown method>(Unknown Source)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:99)
>       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 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)

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