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

Ole Solberg commented on DERBY-4409:
------------------------------------

TinderBox test / suites.All failed with just exitting.
Looking at the diff, via JIRA, I found a 'System.exit(1);':

-        commit();
-        super.tearDown();
+                    getConnection().commit();
+                    System.exit(1);
+                }
+            };
     }
 
     /**
@@ -10295,7 +10298,7 @@
                "ORDER BY CS.ID DESC";


Running suites.All now with a minimal patch that replaces 'System.exit(1);' 
with the original  'st.close();'

> Make some tests run faster by using  CleanDatabaseSetup + decorateSQL + 
> rollback idiom
> --------------------------------------------------------------------------------------
>
>                 Key: DERBY-4409
>                 URL: https://issues.apache.org/jira/browse/DERBY-4409
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Dag H. Wanvik
>            Priority: Minor
>             Fix For: 10.6.0.0
>
>         Attachments: OrderByAndSortAvoidance-faster-2.diff, 
> OrderByAndSortAvoidance-faster-2.stat, OrderByAndSortAvoidance-faster.diff, 
> OrderByAndSortAvoidance-faster.stat
>
>
> For example, for OrderByAndSortAvoidance, this reduces running time on my box 
> from ca 5 minutes to ca 1 minute, cf
> patch OrderByAndSortAvoidance-faster.

-- 
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