Intermittent H2DataStoreFactoryTest.testTCP failure when another GeoTools is
building on the same host
------------------------------------------------------------------------------------------------------
Key: GEOT-3943
URL: https://jira.codehaus.org/browse/GEOT-3943
Project: GeoTools
Issue Type: Bug
Components: jdbc-h2 plugin
Affects Versions: 2.7.4, 8.0-M3
Reporter: Ben Caradoc-Davies
Priority: Critical
H2DataStoreFactoryTest.testTCP can fail if another GeoTools is building on the
same host. This test assumes that it has exclusive use of localhost. It assumes
that nothing else will be using the TCP ports it likes and it can test for
their availability by connecting to them. These assumptions are incorrect.
Because this test can fail on 2.7.x when trunk is building, I suspect that
trunk will also be affected by the same problem. The two branches are
inadvertently communicating via the network.
Tests that use network resources should be subclasses of OnlineTestCase.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
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