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

Ole Solberg updated DERBY-3824:
-------------------------------

    Attachment: DERBY-3824_1.diff.txt

DERBY-3824_1.diff.txt: 
Some testcases in SavepointJdbc30Test did not take into account that the order 
in which testcases could be run may differ. Specifically, phoneME runs 
testcases in the opposite order of other jvms we are running tests on.

SavepointJdbc30Test now ran ok on phoneME and jvm1.6. 


> Rollback to savepoint fails on phoneME - 
> xtestRollbackWillReleaseLaterSavepoints: "T1" row count: expected:<1> but 
> was:<8>
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3824
>                 URL: https://issues.apache.org/jira/browse/DERBY-3824
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.5.1.1
>         Environment: Product: phoneME Advanced (phoneme_advanced_mr2-b34)
> Profile: Foundation Profile Specification 1.1
> JVM:     CVM phoneme_advanced_mr2-b34 (interpreter loop)
>            Reporter: Ole Solberg
>            Assignee: Ole Solberg
>         Attachments: DERBY-3824_1.diff.txt
>
>
> See e.g. 
> http://dbtg.thresher.com/derby/test/Daily/javaME/testing/Limited/testSummary-682767.html
> 1) 
> xtestRollbackWillReleaseLaterSavepoints(org.apache.derbyTesting.functionTests.tests.jdbcapi.SavepointJdbc30Test)junit.framework.AssertionFailedError:
>  "T1" row count: expected:<1> but was:<8>
>       at 
> org.apache.derbyTesting.junit.BaseJDBCTestCase.assertEscapedTableRowCount(Ljava/lang/String;I)V(BaseJDBCTestCase.java:906)
>       at 
> org.apache.derbyTesting.junit.BaseJDBCTestCase.assertTableRowCount(Ljava/lang/String;I)V(BaseJDBCTestCase.java:887)
>       at 
> org.apache.derbyTesting.functionTests.tests.jdbcapi.SavepointJdbc30Test.xtestRollbackWillReleaseLaterSavepoints()V(SavepointJdbc30Test.java:937)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare()V(BaseTestCase.java:104)
>       at 
> junit.extensions.TestDecorator.basicRun(Ljunit/framework/TestResult;)V(TestDecorator.java:24)
>       at junit.extensions.TestSetup$1.protect()V(TestSetup.java:21)
>       at 
> junit.extensions.TestSetup.run(Ljunit/framework/TestResult;)V(TestSetup.java:25)
>       at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(Ljunit/framework/TestResult;)V(BaseTestSetup.java:57)
>       at sun.misc.CVM.runMain()V(CVM.java:514)

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