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] [Created] (DERBY-5775) Upgrade tests should print full IOException stack trace when it fails to access old versions
Date Mon, 21 May 2012 17:32:41 GMT
Kathey Marsden created DERBY-5775:
-------------------------------------

             Summary: 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


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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message