Revision 44acc7e5
Added by Cherian Mathew almost 9 years ago
eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/HttpInvokerServicesTest.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
import org.apache.log4j.Logger; |
12 | 12 |
import org.junit.Assert; |
13 |
import org.junit.Ignore; |
|
13 | 14 |
import org.junit.Test; |
14 | 15 |
|
16 |
import eu.etaxonomy.cdm.api.service.ITestService; |
|
15 | 17 |
import eu.etaxonomy.cdm.config.CdmSourceException; |
16 | 18 |
import eu.etaxonomy.cdm.model.description.PolytomousKey; |
17 | 19 |
|
... | ... | |
22 | 24 |
public class HttpInvokerServicesTest extends BaseRemotingTest { |
23 | 25 |
private static final Logger logger = Logger.getLogger(HttpInvokerServicesTest.class); |
24 | 26 |
|
27 |
ITestService testService = getRemoteApplicationController().getTestService(); |
|
25 | 28 |
|
26 | 29 |
@Test |
27 | 30 |
public void whenCallingMethodsOnRemoteServicesThenSucceed() { |
... | ... | |
39 | 42 |
getRemoteApplicationController().getPolytomousKeyService().list(PolytomousKey.class, null, null, null, null); |
40 | 43 |
} |
41 | 44 |
|
45 |
// should be kept at ignore and only used for manual testing |
|
46 |
// otherwise tests will take too much time |
|
47 |
@Ignore |
|
48 |
@Test |
|
49 |
public void testDisableReadTimeout() throws InterruptedException { |
|
50 |
testService.waitFor((long) 120000.0); |
|
51 |
} |
|
52 |
|
|
42 | 53 |
} |
Also available in: Unified diff
#5028,#5032 Add implementation and use of new test service and Set http invoker read timeout to 0 (never )