You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2010/11/04 16:59:41 UTC

[jira] Created: (DERBY-4885) Reduce lock timeout in SavepointJdbc30Test

Reduce lock timeout in SavepointJdbc30Test
------------------------------------------

                 Key: DERBY-4885
                 URL: https://issues.apache.org/jira/browse/DERBY-4885
             Project: Derby
          Issue Type: Improvement
          Components: Test
    Affects Versions: 10.7.1.0
            Reporter: Knut Anders Hatlen
            Assignee: Knut Anders Hatlen
            Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DERBY-4885) Reduce lock timeout in SavepointJdbc30Test

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen closed DERBY-4885.
-------------------------------------

          Resolution: Fixed
       Fix Version/s: 10.7.1.0
    Issue & fix info:   (was: [Patch Available])

Committed revision 1031516.

> Reduce lock timeout in SavepointJdbc30Test
> ------------------------------------------
>
>                 Key: DERBY-4885
>                 URL: https://issues.apache.org/jira/browse/DERBY-4885
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 10.7.1.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.7.1.0
>
>         Attachments: d4885.diff
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-4885) Reduce lock timeout in SavepointJdbc30Test

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen updated DERBY-4885:
--------------------------------------

    Attachment: d4885.diff

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.

> Reduce lock timeout in SavepointJdbc30Test
> ------------------------------------------
>
>                 Key: DERBY-4885
>                 URL: https://issues.apache.org/jira/browse/DERBY-4885
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 10.7.1.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: d4885.diff
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.