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-5775) Upgrade tests should print full IOException stack trace when it fails to access old versions
Date Tue, 25 Sep 2012 20:54:09 GMT

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

Myrna van Lunteren commented on DERBY-5775:
-------------------------------------------

I committed the patch with revision 1390126 (http://svn.apache.org/viewvc?view=revision&revision=1390126)
I'll backport this to 10.9 and 10.8
                
> Upgrade tests should  print full IOException stack trace when it fails to access old
versions
> ---------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5775
>                 URL: https://issues.apache.org/jira/browse/DERBY-5775
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.8.2.2
>            Reporter: Kathey Marsden
>            Priority: Trivial
>              Labels: derby_triage10_10
>         Attachments: DERBY-5775.diff
>
>
> When the Upgrade tests fail to access the oldVersions due to an IOException the message
is not very clear as to what the IOException was. e,g. can output 
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> ALARM: IOException msg: 'svn.apache.org'. Upgrade tests can NOT be run!
> Time: 0.008
> OK (0 tests)
> The code in OldVersions.getVersions()
>           }
>         } catch (IOException ioe) {
>             alarm("Error reading from file: " + oldVersionsPath + ioe.getMessage());
>         }
>         
> should print the exception stack trace or possibly even fail on IOException.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message