[Geoserver-devel] [jira] (GEOS-5631) Build failure in wms GetFeatureInfoIntegrationTest caused by custom template leak

Ben Caradoc-Davies created BugGEOS-5631
Build failure in wms GetFeatureInfoIntegrationTest caused by custom template leak

Issue Type:

BugBug

Affects Versions:

2.4-beta

Assignee:

Andrea Aime

Components:

WMS

Created:

04/Feb/13 1:55 AM

Description:

On platforms where GetFeatureInfoIntegrationTest testCustomTemplateManyRules runs before testSimpleHtml, testBuffer, testAutoBuffer, or testBufferScales, the latter fail because testCustomTemplateManyRules installs a custom template but fails to remove it.

-------------------------------------------------------------------------------
Test set: org.geoserver.wms.wms_1_3.GetFeatureInfoIntegrationTest
-------------------------------------------------------------------------------
Tests run: 21, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 2.609 sec <<< FAILURE!
testSimpleHtml(org.geoserver.wms.wms_1_3.GetFeatureInfoIntegrationTest)  Time elapsed: 84 sec  <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[1]> but was:<[0]>
	at junit.framework.Assert.assertEquals(Assert.java:85)
	at junit.framework.Assert.assertEquals(Assert.java:91)
	at org.custommonkey.xmlunit.XMLAssert.assertXpathEvaluatesTo(XMLAssert.java:858)
	at org.geoserver.wms.wms_1_3.GetFeatureInfoIntegrationTest.testSimpleHtml(GetFeatureInfoIntegrationTest.java:265)
[...]

testBuffer(org.geoserver.wms.wms_1_3.GetFeatureInfoIntegrationTest)  Time elapsed: 93 sec  <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[1]> but was:<[0]>
	at junit.framework.Assert.assertEquals(Assert.java:85)
	at junit.framework.Assert.assertEquals(Assert.java:91)
	at org.custommonkey.xmlunit.XMLAssert.assertXpathEvaluatesTo(XMLAssert.java:858)
	at org.geoserver.wms.wms_1_3.GetFeatureInfoIntegrationTest.testBuffer(GetFeatureInfoIntegrationTest.java:288)
[...]

testAutoBuffer(org.geoserver.wms.wms_1_3.GetFeatureInfoIntegrationTest)  Time elapsed: 63 sec  <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[1]> but was:<[0]>
	at junit.framework.Assert.assertEquals(Assert.java:85)
	at junit.framework.Assert.assertEquals(Assert.java:91)
	at org.custommonkey.xmlunit.XMLAssert.assertXpathEvaluatesTo(XMLAssert.java:858)
	at org.geoserver.wms.wms_1_3.GetFeatureInfoIntegrationTest.testAutoBuffer(GetFeatureInfoIntegrationTest.java:321)
[...]

testBufferScales(org.geoserver.wms.wms_1_3.GetFeatureInfoIntegrationTest)  Time elapsed: 63 sec  <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[1]> but was:<[0]>
	at junit.framework.Assert.assertEquals(Assert.java:85)
	at junit.framework.Assert.assertEquals(Assert.java:91)
	at org.custommonkey.xmlunit.XMLAssert.assertXpathEvaluatesTo(XMLAssert.java:858)
	at org.geoserver.wms.wms_1_3.GetFeatureInfoIntegrationTest.testBufferScales(GetFeatureInfoIntegrationTest.java:353)
[...]

Environment:

Apache Maven 3.0.4 (r1232337; 2012-01-17 16:44:56+0800)
Maven home: /home/car605/junk/java/maven3
Java version: 1.6.0_37, vendor: Sun Microsystems Inc.
Java home: /home/car605/junk/java/jdk1.6.0_37.x64/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: “linux”, version: “3.7-trunk-amd64”, arch: “amd64”, family: “unix”

Project:

GeoServer

Priority:

CriticalCritical

Reporter:

Ben Caradoc-Davies

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)