Issue 13521

NodeIT has hanging tests

13521
Reporter: kbraak
Assignee: mdoering
Type: Bug
Summary: NodeIT has hanging tests
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2013-07-17 13:58:23.318
Updated: 2013-12-16 17:50:47.318
Resolved: 2013-07-18 15:45:19.168
        
Description: Hanging tests are likely the result of IMS connection problems. Does the connection to the IMS have a timeout?

Specifically the hanging tests are:

public void testGetByCountry()
public void testCountries()
testIms()
]]>
    


Author: mdoering@gbif.org
Created: 2013-07-18 15:26:44.753
Updated: 2013-07-18 15:26:44.753
        
We dont use any connection timeouts in any mybatis project.
The BoneCP provider actually does not allow to specify a connection timeout at all. Also the FMP JDBC driver does not seem to accept a loginTimeout or similar property.
    


Author: mdoering@gbif.org
Comment: Hanging tests are indeed due to hanging FMP connections
Created: 2013-07-18 15:27:17.921
Updated: 2013-07-18 15:27:17.921


Author: mdoering@gbif.org
Created: 2013-07-18 15:45:19.196
Updated: 2013-07-18 15:45:19.196
        
Catching bad Filemaker servers on startup:
https://code.google.com/p/gbif-labs/source/detail?r=408

Andrei also fixed the actual IMS connection by restarting the ODBC/JDBC sharing of our filemaker server