[
https://issues.apache.org/jira/browse/DERBY-3357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563580#action_12563580
]
Daniel John Debrunner commented on DERBY-3357:
----------------------------------------------
This test also has some schema setup in its setup and teardown methods which of
course will be run once per fixture. However from a quick look only a handful
of fixtures need the schema setup. This also makes the test slower than it
could be, maybe the setup could be one time by using the decorateSQL method of
CleanDatabaseTestSetup.
Another minor issue is that a number of fixtures that are specific to client
are run on embedded as well but do nothing due to a check in the test fixture
code. The normal way of handling these is to only run them in network server
mode.
> Reduce runtime of jdbcapi.DataSourceTest
> ----------------------------------------
>
> Key: DERBY-3357
> URL: https://issues.apache.org/jira/browse/DERBY-3357
> Project: Derby
> Issue Type: Improvement
> Components: Test
> Affects Versions: 10.4.0.0
> Reporter: Kristian Waagan
> Assignee: Kristian Waagan
> Priority: Trivial
> Fix For: 10.4.0.0
>
> Attachments: derby-3357-1a-lower_lock_timeout.diff
>
>
> Two tests in DataSoureTest are waiting for a lock timeout. The runtime of the
> suite could be reduced by setting the lock timeout to a lower value.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.