[ https://issues.apache.org/jira/browse/DERBY-5775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Myrna van Lunteren reassigned DERBY-5775: ----------------------------------------- Assignee: Myrna van Lunteren > 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 > Assignee: Myrna van Lunteren > 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