On Tue, May 15, 2012 at 3:26 AM, Brett Walker
<[email protected]> wrote:
> Hi Everyone,
>
>
>
> I am trying to perform a build on trunk using mvn –Dall clean install. It is
> failing on the H2 DataStore.

Hum... the official build server seems unfortunately stuck.
I've just rebuilt on my machine the very same branch though, no build error.
The build server also suceeded in building that branch after the commit
in question was made (which happened Sunday, I did it):
http://hudson.opengeo.org/hudson/job/geotools-2.7.x-nightly/443/console

>
>
> There are two tests: testFeatureSource(org.geotools.data.h2.H2EmptyTest) and
> testFeatureCollection(org.geotools.data.h2.H2EmptyTest) that are failing.
>
>
>
> The stack trace (see below) for the :
> testFeatureSource(org.geotools.data.h2.H2EmptyTest) test indicates that it
> is an Online Test Case. A similar stacktrace exists for
> testFeatureCollection(org.geotools.data.h2.H2EmptyTest).
>

Ah, looking at the stack trace I probably see where it's coming from.
Just committed a blind fix (since I cannot reproduce the issue, I cannot
say if it's solved), want to give it a kick?

>
> Reading the developers guidelines online it indicates that online test are
> disabled by default and should not run. Have I read the online document
> wrong? The stacktrace seems to indicate otherwise.

The H2 tests use an embedded database, so unlike the other
database tests they should not be online ones, as they are not
depending on an external resource that one has to manually setup
for the test purposes.

Cheers
Andrea


-- 
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to