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-3834) Convert derbynet/runtimeinfo to JUnit
Date Mon, 29 Jun 2009 17:28:47 GMT

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

Kathey Marsden commented on DERBY-3834:
---------------------------------------

Hi Tiago,

I am concerned that if this tests fails we will be left with a network server running or leave
the tests set to the German locale, causing subsequent tests to fail.

I think it would be better to make a second test 
LocaleRuntimeInfoTest or some such and then use:
   public NetworkServerTestSetup
        (
         Test test,
         String[] systemProperties,
         String[] startupArgs,
         boolean serverShouldComeUp
        )

to spawn the server with the correct locale by setting system properties.  It will make sure
everything is shutdown and cleaned up regardless of whether the test fails.



> Convert derbynet/runtimeinfo to JUnit
> -------------------------------------
>
>                 Key: DERBY-3834
>                 URL: https://issues.apache.org/jira/browse/DERBY-3834
>             Project: Derby
>          Issue Type: Test
>          Components: Test
>    Affects Versions: 10.5.1.1
>            Reporter: Erlend Birkenes
>            Assignee: Tiago R. Espinha
>            Priority: Minor
>         Attachments: DERBY-3834.patch, DERBY-3834.patch, DERBY-3834.patch, DERBY-3834.stat,
Derby-3834_1.diff
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message