db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3829) Convert derbynet/sysinfo and derbynet/sysinfo_with_properties to JUnit
Date Fri, 15 Aug 2008 01:43:44 GMT

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

Myrna van Lunteren commented on DERBY-3829:

I can do some further experimenting with the permissions...and/or send you the output I get.
Maybe I can modify the exec command so it starts the sysinfo call without security manager..
But it's sort of late in the day here though and I need to do other stuff, I'll try to look
into this further tomorrow...

I think if you can make a variation of assertExecJavaCmdAsExpected to return the full output
that would be good. I'm fairly certain I tried that at some point and there was some reason
why that didn't work well...Can't remember the details. 
(The buffer would get closed before it got to the calling method? Or it would never release
and hang the test/networkserver? Or keep the pointer  open & thus leak memory? Something
like that.)
I'll see if I can find notes/remarks...(they're probably buried somewhere in a comment).

But if we could do it, I'd prefer that over using execCmdDumpResults. We probably should remove
that method, if it's not used anywhere anymore, to prevent future confusion...

> Convert derbynet/sysinfo and derbynet/sysinfo_with_properties to JUnit
> ----------------------------------------------------------------------
>                 Key: DERBY-3829
>                 URL: https://issues.apache.org/jira/browse/DERBY-3829
>             Project: Derby
>          Issue Type: Test
>          Components: Test
>    Affects Versions:
>            Reporter: Erlend Birkenes
>            Assignee: Erlend Birkenes
>            Priority: Minor
>             Fix For:
>         Attachments: Derby-3829_1.diff
> I'm guessing these two can be combined into one file

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

View raw message