I agree, the test should be cleaned up. For instance there are a lot of tests being excluded, these tests should be killed if they are never run.

The postgis tests are a fact of life when are you dealing with testing services. Its either that or make people set the services up on their own machine. Running in "offline" mode helps but less test coverage is acheived.

-Justin



Martin Desruisseaux wrote:
[EMAIL PROTECTED] a écrit :

The PostGIS tests take a long time to complete.  The
"PostgisDataStoreAPIOnlineTest" is the culprit!


I noticed too that PostGIS test is very long (20 minutes on my machine). As a result, I completly disabled this test on my local machine.

I have the feeling that a big cleanup is required for our test cases. Online tests working in unpredictable way, some tests too long, etc.

Note that as an alternative (if you are just interrested in building latest geotools code), you may try maven 2 (previous post today). It is faster and eat less memory. Our current Maven 2 build has more tests disabled than Maven 1 build, but I hope to fix that progressively during the next weeks. The Maven 2 build is also less tested since it is brand new, but we need peoples to try it since my hope is to replace completly the Maven 1 build by Maven 2 at some point in the future :).

As a second alternative (if you don't need brand new Geotools code and can afford something like a weekly update), you can uses directly the Geotools binaries snapshot, again with Maven 2. I just put online our first Geotools maven 2 repository today :)

    http://maven.espace.ird.nc/org/geotools/

I will send an email later about how to use this repository in a pom.xml file.

    Martin.


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel



--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to