db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tiago R. Espinha (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3834) Convert derbynet/runtimeinfo to JUnit
Date Fri, 26 Jun 2009 19:59:48 GMT

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

Tiago R. Espinha commented on DERBY-3834:

I have been discussing the locale bit with Kathey and we were able to draw some conclusions,
but there's still a pending issue.

The original test apparently did no verification at all on the locale front. Despite setting
the user.country and user.language properties, the output it expects is actually in English,
so it doesn't seem like it was expected for it to work properly.

Still, we agreed it would be a nice addition to the test, having it check the localized output.
The problem arises with the fact that the output of runtimeinfo is dependent on the locale
of the server and not of the client (unlike ping, for example). So for this to work, that
one single fixture has to shutdown the server and spawn another instance with the changed

Does anyone have ideas or comments on this?

It is also noteworthy that the test seems to pick up the localization properties if I define
them with -D on the command line.

> 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:
>            Reporter: Erlend Birkenes
>            Assignee: Tiago R. Espinha
>            Priority: Minor
>         Attachments: 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.

View raw message