db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: [jira] Reopened: (DERBY-1496) testSecMec needs many masters - should convert to junit
Date Thu, 29 Mar 2007 20:14:08 GMT
Myrna van Lunteren wrote:
> On 3/28/07, Daniel John Debrunner (JIRA) <jira@apache.org> wrote:
>>
>>     [ 
>> https://issues.apache.org/jira/browse/DERBY-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

>> ]
>>
>> Daniel John Debrunner reopened DERBY-1496:
>> ------------------------------------------
>>
>>
>> NSSecurityMechanismTest has this TODO in it:
>>
>>            // TODO: sleep ridiculously long, otherwise getting 08001 
>> errors
>>            //       even when the server is up.
>>            Thread.sleep(120000);
>>
>>
>> That sleep in executed a number of times, slowing the test runs down.
>> If the server is up and running and giving errors, would that be a bug?
>>
> Possibly...
> It may be the extra time needed is because the database is reused for
> each security mechanism. I imagine that takes longer, so the server
> may be up, but the database not (yet).

A different approach may be to use the client server decorator which 
already handles this. Then each security mechanism would be a different 
fixture run.

Dan.


Mime
View raw message