Uploaded image for project: 'JBoss VFS'
  1. JBoss VFS
  2. JBVFS-59

testWarLinkUpdate failures

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.CR1
    • None
    • None
    • None

      There are two failures in the testWarLinkUpdate tests, FileVFSUnitTestCase and CopyFileVFSUnitTestCase.

      <testcase time="0.014" name="testWarLinkUpdate">
      <error type="junit.framework.AssertionFailedError" message="Wrong number of WEB-INF link children">junit.framework.AssertionFailedError: Wrong number of WEB-INF link children
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at org.jboss.test.virtual.test.FileVFSUnitTestCase.testWarLinkUpdate(FileVFSUnitTestCase.java:1101)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at junit.framework.TestCase.runTest(TestCase.java:154)
      at junit.framework.TestCase.runBare(TestCase.java:127)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:118)
      at junit.framework.TestSuite.runTest(TestSuite.java:208)
      at junit.framework.TestSuite.run(TestSuite.java:203)
      at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:84)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:261)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:875)
      </error>
      <system-out>545 DEBUG [CopyFileVFSUnitTestCase] ==== Starting testWarLinkUpdate ====
      545 INFO [CopyFileVFSUnitTestCase] Force copy: true
      547 DEBUG [AbstractVirtualFileHandler] IGNORING: Exception while closing connection
      java.io.FileNotFoundException: /tmp/jboss-vfs-testWarLinkUpdate51572.tmp/WEB-INF (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.&init&(FileInputStream.java:106)
      at java.io.FileInputStream.&init&(FileInputStream.java:66)
      at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
      at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
      at org.jboss.virtual.plugins.context.AbstractURLHandler.closeConnection(AbstractURLHandler.java:121)
      at org.jboss.virtual.plugins.context.AbstractURLHandler.initCacheLastModified(AbstractURLHandler.java:107)
      at org.jboss.virtual.plugins.context.AbstractURLHandler.&init&(AbstractURLHandler.java:66)
      at org.jboss.virtual.plugins.context.file.LinkHandler$ParentOfLink.&init&(LinkHandler.java:67)
      at org.jboss.virtual.plugins.context.file.LinkHandler.&init&(LinkHandler.java:164)
      at org.jboss.virtual.plugins.context.file.FileSystemContext.createLinkHandler(FileSystemContext.java:351)
      at org.jboss.virtual.plugins.context.file.FileHandler.getChildLink(FileHandler.java:301)
      at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:315)
      at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:257)
      at org.jboss.virtual.plugins.context.file.FileHandler.createChildHandler(FileHandler.java:272)
      at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:535)
      at org.jboss.virtual.plugins.context.file.FileHandler.getChild(FileHandler.java:281)
      at org.jboss.virtual.plugins.context.AbstractVFSContext.getChild(AbstractVFSContext.java:164)
      at org.jboss.virtual.VFS.getChild(VFS.java:228)
      at org.jboss.test.virtual.test.FileVFSUnitTestCase.testWarLinkUpdate(FileVFSUnitTestCase.java:1070)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at junit.framework.TestCase.runTest(TestCase.java:154)
      at junit.framework.TestCase.runBare(TestCase.java:127)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:118)
      at junit.framework.TestSuite.runTest(TestSuite.java:208)
      at junit.framework.TestSuite.run(TestSuite.java:203)
      at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:84)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:261)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:875)
      554 DEBUG [CopyFileVFSUnitTestCase] testWarLinkUpdate took 9ms
      554 DEBUG [CopyFileVFSUnitTestCase] ==== Stopping testWarLinkUpdate ====
      </system-out>
      </testcase>

              starksm64 Scott Stark (Inactive)
              starksm64 Scott Stark (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: