You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (JIRA)" <ji...@apache.org> on 2011/06/30 15:10:28 UTC

[jira] [Updated] (DERBY-3337) convert jdbcapi/derbyStress.java to JUnit

     [ https://issues.apache.org/jira/browse/DERBY-3337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kathey Marsden updated DERBY-3337:
----------------------------------

    Attachment: derby-3337_diff.txt

This patch converts  derbyStress to junit and moves  it to memory.MemoryLeakFixesTest and adds it to the memory suite so it will get picked up by lowmem testing.

The test has a system property derby.tests.waitforfinalizermillis which can be set to put in arbitrary waits to catch up in case it is needed for the finalizer to catch up. I am thinking I might try to modify it further to call Runtime.freememMemory() and only sleep if we are running short, but I think I will check this in first if nobody objects.

I still need to run tests.


> 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