commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Epstein, Ezra" <Ezra.Epst...@neustar.biz>
Subject commons-vfs: org.apache.commons.vfs2.provider.http.test.HttpProviderTestCase fails
Date Mon, 21 Mar 2016 21:38:46 GMT
I’ve forked and cloned the repo from GitHub and the build fails with:


Tests run: 90, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.223 sec <<< FAILURE!
- in org.apache.commons.vfs2.provider.http.test.HttpProviderTestCase

testHttp405(org.apache.commons.vfs2.provider.http.test.HttpProviderTestCase)  Time elapsed:
0.372 sec  <<< ERROR!

org.apache.commons.vfs2.FileSystemException: Could not determine the size of "http://www.w3schools.com/webservices/tempconvert.asmx?action=WSDL"
because it is not a file.

at org.apache.commons.vfs2.provider.DefaultFileContent.getSize(DefaultFileContent.java:135)

at org.apache.commons.vfs2.provider.http.test.HttpProviderTestCase.testHttp405(HttpProviderTestCase.java:208)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.apache.commons.vfs2.test.AbstractProviderTestCase.runTest(AbstractProviderTestCase.java:218)

at junit.framework.TestCase.runBare(TestCase.java:141)

at junit.framework.TestResult$1.protect(TestResult.java:122)

at junit.framework.TestResult.runProtected(TestResult.java:142)

at junit.framework.TestResult.run(TestResult.java:125)

at junit.framework.TestCase.run(TestCase.java:129)

at junit.framework.TestSuite.runTest(TestSuite.java:252)

at junit.framework.TestSuite.run(TestSuite.java:247)

at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)

at org.apache.commons.vfs2.test.AbstractTestSuite$1.protect(AbstractTestSuite.java:149)

at junit.framework.TestResult.runProtected(TestResult.java:142)

at org.apache.commons.vfs2.test.AbstractTestSuite.run(AbstractTestSuite.java:154)

at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)

at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)

at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)

at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)

at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)

at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)

at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)

at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

…

Tests in error:

  HttpProviderTestCase>AbstractProviderTestCase.runTest:218->testHttp405:208 » FileSystem


Is this a known issue?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message