On Tue, Jul 31, 2012 at 9:02 AM, Ákos Maróy <[email protected]> wrote:
> On 30/07/12 17:38, David Winslow wrote:
> > Please see this reference for source access and build instructions:
> > http://docs.geoserver.org/stable/en/developer/source.html
>
> I followed the description here, and also here:
> http://docs.geoserver.org/stable/en/developer/quickstart/index.html
>
> and when I do a build, I get a test failure at some point:
>
>
> -------------------------------------------------------------------------------
> Test set: org.geoserver.wfs.v2_0.GetFeatureTest
>
> -------------------------------------------------------------------------------
> Tests run: 43, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.719
> sec <<< FAILURE!
> testDefaultStoredQuery(org.geoserver.wfs.v2_0.GetFeatureTest) Time
> elapsed: 0.251 sec <<< FAILURE!
> junit.framework.ComparisonFailure: expected:<[1]> but was:<[0]>
> at junit.framework.Assert.assertEquals(Assert.java:81)
> at junit.framework.Assert.assertEquals(Assert.java:87)
> at
>
> org.custommonkey.xmlunit.XMLAssert.assertXpathEvaluatesTo(XMLAssert.java:858)
> at
>
> org.geoserver.wfs.v2_0.GetFeatureTest.testDefaultStoredQuery(GetFeatureTest.java:595)
>
>
> the commands I followed are exactly the ones in the quickstart guide
> (using branch 2.2.x)
>
> is this 'normal'?
>
No, it's not. We have more than one continuous build server building
GeoServer and
GeoTools multiple times a day, this issue has not popped up so far. Here is
a link
to the official CI:
http://hudson.opengeo.org/hudson/
The issue might be due to a number of things. Maybe it's platform specific
(we have no
CI on Windows for example) or JDK specific (the build is supposed to be
done with
Oracle JDK 6).
Out of curiosity I've run that test with both JDK 6 and 7 on Linux, passed
with both
If you are interested in debugging it at line 594 you can add
"print(dom);", that will
dump the xml of the respose being tested
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
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://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
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/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users