db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-3337) convert jdbcapi/derbyStress.java to JUnit
Date Thu, 30 Jun 2011 20:41:28 GMT

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

Kathey Marsden commented on DERBY-3337:
---------------------------------------

Thanks Knut for the review. I had the property in the test at first, but then decided it would
be better to keep the various properties centralized as much as possible rather than scattered
about.  I suppose if other tests had this problem, they could use it.

I am not a big fan of the property actually as it has to be tuned and can cause unneeded sleeps.
   I just realized there is a Runtime.runFinalization() method.  Maybe I could just  make
the test by default run finalazation if  freeMemory()  runs low.  Do you think that is too
much of an inteference with the test?   I keep thinking this is something the jvm's should
do.

I will definitely make the change to throw the  InterruptedException.


> convert jdbcapi/derbyStress.java to JUnit
> -----------------------------------------
>
>                 Key: DERBY-3337
>                 URL: https://issues.apache.org/jira/browse/DERBY-3337
>             Project: Derby
>          Issue Type: Task
>          Components: Test
>            Reporter: Kathey Marsden
>            Assignee: Kathey Marsden
>            Priority: Minor
>         Attachments: derby-3337_diff.txt
>
>
> Convert derbyStress to JUnit. Framework will have to be setup for running in a low memory
profile.  Temporarily moved the test back to derbyall. See DERBY-3336 for details and possible
options moving forward.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message