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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        430d 22h 40m 1 Ole Solberg 11/Oct/09 12:28
        Gavin made changes -
        Workflow jira [ 12436810 ] Default workflow, editable Closed status [ 12800198 ]
        Kathey Marsden made changes -
        Fix Version/s 10.6.1.0 [ 12313727 ]
        Kathey Marsden made changes -
        Affects Version/s 10.6.1.0 [ 12313727 ]
        Affects Version/s 10.5.1.1 [ 12313771 ]
        Ole Solberg made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Ole Solberg made changes -
        Issue & fix info [Patch Available]
        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.
        Ole Solberg made changes -
        Issue & fix info [Patch Available]
        Ole Solberg made changes -
        Attachment DERBY-3824_1.diff.txt [ 12421618 ]
        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.
        Ole Solberg made changes -
        Assignee Ole Solberg [ olesolberg ]
        Dag H. Wanvik made changes -
        Component/s Test [ 11413 ]
        Dag H. Wanvik made changes -
        Component/s Regression Test Failure [ 12310664 ]
        Myrna van Lunteren made changes -
        Field Original Value New Value
        Affects Version/s 10.5.1.1 [ 12313771 ]
        Affects Version/s 10.5.0.0 [ 12313010 ]
        Ole Solberg created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development