Derby
  1. Derby
  2. DERBY-3824

Rollback to savepoint fails on phoneME - xtestRollbackWillReleaseLaterSavepoints: "T1" row count: expected:<1> but was:<8>

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.6.1.0
    • Fix Version/s: 10.6.1.0
    • Component/s: Test
    • Labels:
      None
    • Environment:
      Product: phoneME Advanced (phoneme_advanced_mr2-b34)
      Profile: Foundation Profile Specification 1.1
      JVM: CVM phoneme_advanced_mr2-b34 (interpreter loop)
    • Bug behavior facts:
      Regression Test Failure

      Description

      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)

        Activity

        Hide
        Ole Solberg added a comment -

        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.

        Show
        Ole Solberg added a comment - 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.
        Hide
        Ole Solberg added a comment -

        Committed DERBY-3824_1.diff.txt to trunk as rev. 823515.

        Show
        Ole Solberg added a comment - Committed DERBY-3824 _1.diff.txt to trunk as rev. 823515.

          People

          • Assignee:
            Ole Solberg
            Reporter:
            Ole Solberg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development