commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benedikt Ritter <brit...@apache.org>
Subject Re: commons-vfs: org.apache.commons.vfs2.provider.http.test.HttpProviderTestCase fails
Date Tue, 22 Mar 2016 07:34:14 GMT
Hi,

Bernd Eckenfels <ecki@zusammenkunft.net> schrieb am Di., 22. März 2016 um
01:03 Uhr:

> Hello,
>
> I think it is a new problem. It is a bit unfortunate that those tests
> rely on external web sites (and those seeem to no longer exist).
>
> If you want, you can file the report directly in the JIRA:
>
> https://issues.apache.org/jira/browse/VFS/
>
> It seems to be safe to ignore that failure.
>

Hm, I think we should really fix this :-)
Maybe it is possible to use the Test Containers project [1] to spin up the
needed infrastructure for running the test?

Benedikt

[1] http://testcontainers.viewdocs.io/testcontainers-java/


> Gruss
> Bernd
>
>  Am Mon,
> 21 Mar 2016 21:38:46 +0000 schrieb "Epstein, Ezra"
> <Ezra.Epstein@neustar.biz>:
>
> > 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
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> >
> > …
> >
> > Tests in error:
> >
> >
>  HttpProviderTestCase>AbstractProviderTestCase.runTest:218->testHttp405:208
> >   HttpProviderTestCase>» FileSystem
> >
> >
> > Is this a known issue?
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

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