[ 
https://issues.apache.org/jira/browse/DERBY-3623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592467#action_12592467
 ] 

Tiago R. Espinha commented on DERBY-3623:
-----------------------------------------

Added a new patch file. This one already removes master/deadlockMode.out and 
fixes all the aforementioned issues.

The table creation and filling is now done on decorateSQL as suggested by 
Kathey, and since threads' asserts won't affect the main test flow, added a 
LinkedList that cumulates all the exceptions thrown by threads. This list is 
then checked by the main thread (upon all the other threads having finished) 
and if there are exceptions, the test fails().

> Convert deadlockMode.java to JUnit
> ----------------------------------
>
>                 Key: DERBY-3623
>                 URL: https://issues.apache.org/jira/browse/DERBY-3623
>             Project: Derby
>          Issue Type: Task
>          Components: Test
>            Reporter: Tiago R. Espinha
>            Assignee: Tiago R. Espinha
>            Priority: Minor
>             Fix For: 10.5.0.0
>
>         Attachments: derby3623-20080425.patch, derby3623.patch, 
> ThreadTest.java
>
>


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

Reply via email to