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] [Updated] (DERBY-3337) convert jdbcapi/derbyStress.java to JUnit
Date Thu, 30 Jun 2011 13:10:28 GMT

     [ 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

        

Mime
View raw message