Hi Justin, The problem was me. I'd left in the changes to the Geometries class that we were discussing on jira but hadn't patched any of the other modules. Sorry for the false alarm.
Michael On 4 November 2011 23:56, Justin Deoliveira <[email protected]> wrote: > Hi Michael, > I just did an update of trunk and the H2 module still builds ok for me... > > On Thu, Nov 3, 2011 at 6:39 PM, Michael Bedward <[email protected]> > wrote: >> >> Hello all, >> >> The trunk build is failing on my mac today due to the following test >> failures in the H2 data store: >> >> Failed tests: >> testSchema(org.geotools.data.h2.H2UDTTest) >> testRead(org.geotools.data.h2.H2UDTTest) >> testPersonSchema(org.geotools.data.h2.H2GeometrylessTest) >> testCreate(org.geotools.data.h2.H2GeometrylessTest) >> testSkippedColumn(org.geotools.data.h2.H2SkipColumnTest) >> testSchema(org.geotools.data.h2.H2LobTest) >> testRead(org.geotools.data.h2.H2LobTest) >> testGetSchema(org.geotools.data.h2.jndi.H2DataStoreTest) >> testSchema(org.geotools.data.h2.H2NoPrimaryKeyTest) >> testMappings(org.geotools.data.h2.H2DateTest) >> >> testCaseInsensitiveFilter(org.geotools.data.h2.H2FeatureSourceExposePkTest) >> testGetSchema(org.geotools.data.h2.H2BooleanTest) >> testGetSchemaRoad(org.geotools.data.h2.H2DataStoreAPITest) >> testGetSchemaRiver(org.geotools.data.h2.H2DataStoreAPITest) >> testGetFeatureSourceRoad(org.geotools.data.h2.H2DataStoreAPITest) >> testGetFeatureSourceRiver(org.geotools.data.h2.H2DataStoreAPITest) >> testGetSchema(org.geotools.data.h2.H2DataStoreTest) >> testCaseInsensitiveFilter(org.geotools.data.h2.H2FeatureSourceTest) >> testSchema(org.geotools.data.h2.H2ViewTest) >> >> Hudson seems happy so perhaps it's just an OSX problem ? >> >> Here is an example report: >> >> >> ------------------------------------------------------------------------------- >> Test set: org.geotools.data.h2.H2UDTTest >> >> ------------------------------------------------------------------------------- >> Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 1.291 >> sec <<< FAILURE! >> testSchema(org.geotools.data.h2.H2UDTTest) Time elapsed: 0.346 sec >> <<< FAILURE! >> junit.framework.AssertionFailedError: expected:<class >> java.lang.String> but was:<class java.lang.Object> >> at junit.framework.Assert.fail(Assert.java:47) >> at junit.framework.Assert.failNotEquals(Assert.java:277) >> at junit.framework.Assert.assertEquals(Assert.java:64) >> at junit.framework.Assert.assertEquals(Assert.java:71) >> at org.geotools.jdbc.JDBCUDTTest.testSchema(JDBCUDTTest.java:42) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at junit.framework.TestCase.runTest(TestCase.java:168) >> at junit.framework.TestCase.runBare(TestCase.java:134) >> at junit.framework.TestResult$1.protect(TestResult.java:110) >> at junit.framework.TestResult.runProtected(TestResult.java:128) >> at junit.framework.TestResult.run(TestResult.java:113) >> at junit.framework.TestCase.run(TestCase.java:124) >> at org.geotools.test.OnlineTestCase.run(OnlineTestCase.java:123) >> at junit.framework.TestSuite.runTest(TestSuite.java:232) >> at junit.framework.TestSuite.run(TestSuite.java:227) >> at >> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) >> at >> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) >> at >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) >> at >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) >> at org.apache.maven.surefire.Surefire.run(Surefire.java:177) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) >> at >> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) >> >> testRead(org.geotools.data.h2.H2UDTTest) Time elapsed: 0.143 sec <<< >> FAILURE! >> junit.framework.AssertionFailedError: expected:<12ab> but was:<clob0: >> '12ab'> >> at junit.framework.Assert.fail(Assert.java:47) >> at junit.framework.Assert.failNotEquals(Assert.java:277) >> at junit.framework.Assert.assertEquals(Assert.java:64) >> at junit.framework.Assert.assertEquals(Assert.java:71) >> at org.geotools.jdbc.JDBCUDTTest.testRead(JDBCUDTTest.java:53) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at junit.framework.TestCase.runTest(TestCase.java:168) >> at junit.framework.TestCase.runBare(TestCase.java:134) >> at junit.framework.TestResult$1.protect(TestResult.java:110) >> at junit.framework.TestResult.runProtected(TestResult.java:128) >> at junit.framework.TestResult.run(TestResult.java:113) >> at junit.framework.TestCase.run(TestCase.java:124) >> at org.geotools.test.OnlineTestCase.run(OnlineTestCase.java:123) >> at junit.framework.TestSuite.runTest(TestSuite.java:232) >> at junit.framework.TestSuite.run(TestSuite.java:227) >> at >> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) >> at >> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) >> at >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) >> at >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) >> at org.apache.maven.surefire.Surefire.run(Surefire.java:177) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) >> at >> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) >> >> Michael >> >> >> ------------------------------------------------------------------------------ >> RSA(R) Conference 2012 >> Save $700 by Nov 18 >> Register now >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> _______________________________________________ >> Geotools-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geotools-devel > > > > -- > Justin Deoliveira > OpenGeo - http://opengeo.org > Enterprise support for open source geospatial. > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
