Martin Desruisseaux ha scritto: > Actually the tests are not about testing the database content, but > about Geotools capability to create the right objects from the > database content, and two fill those objects with the correct > informations. I'm sorry, but to test proper object creation there's no need to go thru every single row of the database, ain't it? > The epsg-hsql test suite has actually been one of the most critical > test suite in the "referencing" module development. Many bugs > introduced while refactoring the "referencing" module were undetected > by the "referencing" test suite, and detected only by the "epsg-hsql" > test suite (StackOverFlowError, "Conversion" instances wrongly created > when it should have been "Transformation" instances, wrong accuracy, > etc.). I understand that, that's why I never suggested to remove the tests :-) > However, if we want to speed-up the "epsg-hsql" test suite anyway, > there is a choice. We can create either a new profile in our pom.xml > file (something like "fast.tests"), or define a system property (again > "fast.tests"), and disable the slowest tests when this property is > set. We have to decide whatever disabling the slow tests should be the > default or not. I my understading above is right, I would say to have them disabled by default on the developer side, but have them enabled in cruisecontrol (btw, we should streamline that better, that is, have a continuous build server again, based on maven 2, and allow a few people, maybe the PMC, to add/remove builds to it in order to manage eventual branches). >> [INFO] EPSG Authority Service using HSQL database ............ >> SUCCESS [2:28.313s] >> [INFO] Indexed shapefile module .............................. >> SUCCESS [51.797s] > > So I'm the only one with a very slow "Indexed Shapefile module"? On > the Linux machine I use for building, "Indexed Shapefile" takes 7:18 > compared to 2:16 for epsg-hsql, which is why I considered the > epsg-hsql test time as somewhat secondary... Wow, not that's long! Hum, the two tests are pretty different. On my PC (Windoze XP, Athlon 2600+, 1GB RAM, 7200rpm hard disk) the first one is definitely cpu bound (cpu at 100% during all the tests, problems using other applications while the test is running), the second one is disk bound. What distribution and filesystem are you using? Jesse, do you experience such slow execution too? 7 minutes is really unacceptable...
Cheers Andrea Aime ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel