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-4997) SysinfoTest version output filtering is fragile with new java versions
Date Fri, 04 Feb 2011 17:08:30 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kathey Marsden updated DERBY-4997:
----------------------------------

    Attachment: derby-4997_diff.txt

Here is the patch I would like to commit for this issue. The sed method has been removed and
now the tests just checks for the strings that it needs to check in the output without failing
if the number of lines change.

> SysinfoTest  version output filtering is fragile with new java versions
> -----------------------------------------------------------------------
>
>                 Key: DERBY-4997
>                 URL: https://issues.apache.org/jira/browse/DERBY-4997
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>            Reporter: Kathey Marsden
>            Priority: Minor
>         Attachments: derby-4997_diff.txt, derby-4997_notforcommit.txt
>
>
> Some newer java version output may have lines lines that are not filtered out by the
existing SysinfoTest.  
> Myrna suggests checking for and filtering out the exact properties we expect to see to
make a better test and make it less fragile.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message