Derby
  1. Derby
  2. DERBY-4885

Reduce lock timeout in SavepointJdbc30Test

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.7.1.1
    • Fix Version/s: 10.7.1.1
    • Component/s: Test
    • Labels:
      None

      Description

      There's a test case in SavepointJdbc30Test that waits a minute for a lock timeout to happen. The test case runs in four different configurations, so it spends four minutes just waiting. We should lower the lock timeout to make the test run faster.

      1. d4885.diff
        1 kB
        Knut Anders Hatlen

        Activity

        Knut Anders Hatlen created issue -
        Knut Anders Hatlen made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Knut Anders Hatlen added a comment -

        Attaching a patch that reduces the lock timeout to two seconds for this test. That made the test duration go down from four minutes to ten seconds in my environment.

        Show
        Knut Anders Hatlen added a comment - Attaching a patch that reduces the lock timeout to two seconds for this test. That made the test duration go down from four minutes to ten seconds in my environment.
        Knut Anders Hatlen made changes -
        Attachment d4885.diff [ 12458824 ]
        Hide
        Knut Anders Hatlen added a comment -

        Committed revision 1031516.

        Show
        Knut Anders Hatlen added a comment - Committed revision 1031516.
        Knut Anders Hatlen made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Issue & fix info [Patch Available]
        Fix Version/s 10.7.1.0 [ 12314971 ]
        Resolution Fixed [ 1 ]
        Rick Hillegas made changes -
        Affects Version/s 10.7.1.1 [ 12315564 ]
        Affects Version/s 10.7.1.0 [ 12314971 ]
        Fix Version/s 10.7.1.1 [ 12315564 ]
        Fix Version/s 10.7.1.0 [ 12314971 ]
        Gavin made changes -
        Workflow jira [ 12526002 ] Default workflow, editable Closed status [ 12799746 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        1m 2s 1 Knut Anders Hatlen 04/Nov/10 15:59
        In Progress In Progress Closed Closed
        19h 14m 1 Knut Anders Hatlen 05/Nov/10 11:13

          People

          • Assignee:
            Knut Anders Hatlen
            Reporter:
            Knut Anders Hatlen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development