[ http://issues.apache.org/jira/browse/DERBY-1988?page=all ]

Knut Anders Hatlen updated DERBY-1988:
--------------------------------------

    Attachment: exceptiontest.diff
                exceptiontest.stat

The attached exceptiontest.diff converts TestJDBC40Exception to JUnit. Since 
one of the test cases gets a lock timeout (intentionally), I lowered 
derby.locks.waitTimeout to two seconds in setUp() and reset it in tearDown() to 
make the the test run faster (62 sec -> 4 sec).

> Convert jdbc4/TestJDBC40Exception.java to JUnit
> -----------------------------------------------
>
>                 Key: DERBY-1988
>                 URL: http://issues.apache.org/jira/browse/DERBY-1988
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 10.3.0.0
>            Reporter: Knut Anders Hatlen
>         Assigned To: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.3.0.0
>
>         Attachments: exceptiontest.diff, exceptiontest.stat
>
>
> TestJDBC40Exception is written in a JUnit-like style and could easily be 
> converted into JUnit.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to