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

        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.
        Hide
        Knut Anders Hatlen added a comment -

        Committed revision 1031516.

        Show
        Knut Anders Hatlen added a comment - Committed revision 1031516.

          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