Revision 91aca92e
Added by Andreas Müller over 2 years ago
eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/HttpInvokerServicesTest.java | ||
---|---|---|
23 | 23 |
|
24 | 24 |
/** |
25 | 25 |
* Class to test the HttpInvoker services exposed by the CDM Sever |
26 |
* |
|
27 | 26 |
*/ |
28 | 27 |
public class HttpInvokerServicesTest extends BaseRemotingTest { |
29 | 28 |
private static final Logger logger = Logger.getLogger(HttpInvokerServicesTest.class); |
... | ... | |
37 | 36 |
//getRemoteApplicationController().getDatabaseService(); |
38 | 37 |
String dbSchemaVersion = getRemoteApplicationController().getDatabaseService().getDbSchemaVersion(); |
39 | 38 |
logger.info("dbSchemaVersion is " + dbSchemaVersion); |
40 |
|
|
41 |
|
|
42 | 39 |
} catch (CdmSourceException e) { |
43 | 40 |
Assert.fail("pinging database service on active cdm server should not have thrown CdmSourceException"); |
44 | 41 |
} |
45 | 42 |
|
46 | 43 |
getRemoteApplicationController().getPolytomousKeyService().list(PolytomousKey.class, null, null, null, null); |
47 |
|
|
48 | 44 |
} |
49 | 45 |
|
50 | 46 |
@Ignore |
... | ... | |
62 | 58 |
} |
63 | 59 |
|
64 | 60 |
CdmApplicationState.setCurrentSecurityContext(context); |
65 |
|
|
66 | 61 |
} |
67 | 62 |
|
68 | 63 |
// should be kept at ignore and only used for manual testing |
... | ... | |
72 | 67 |
public void testDisableReadTimeout() throws InterruptedException { |
73 | 68 |
testService.waitFor((long) 120000.0); |
74 | 69 |
} |
75 |
|
|
76 |
|
|
77 |
|
|
78 | 70 |
} |
Also available in: Unified diff
cleanup