diff --git a/openbis-common/sourceTest/java/ch/systemsx/cisd/openbis/common/api/client/ServiceFinderTimeoutTest.java b/openbis-common/sourceTest/java/ch/systemsx/cisd/openbis/common/api/client/ServiceFinderTimeoutTest.java index 40e6ddb57065993d5cd9c5b73b27ed0774412fa0..04f5c8977f526fa2d0eed21921e86075e5492e35 100644 --- a/openbis-common/sourceTest/java/ch/systemsx/cisd/openbis/common/api/client/ServiceFinderTimeoutTest.java +++ b/openbis-common/sourceTest/java/ch/systemsx/cisd/openbis/common/api/client/ServiceFinderTimeoutTest.java @@ -61,12 +61,10 @@ public class ServiceFinderTimeoutTest extends AssertJUnit public void testTimeout() { ServiceFinder finder = new ServiceFinder("", ""); - ITestInterace remoteService = - finder.createService(ITestInterace.class, "http://localhost:" + server.getPort(), - ONE_SECOND_TIMEOUT); try { - remoteService.timeoutProvokingMethod(); + finder.createService(ITestInterace.class, "http://localhost:" + server.getPort(), + ONE_SECOND_TIMEOUT); fail("Timeout exception expected"); } catch (RemoteAccessException rae) { @@ -108,6 +106,7 @@ public class ServiceFinderTimeoutTest extends AssertJUnit { serverSocket = new ServerSocket(0); serverSocket.setSoTimeout(1000); + System.out.println("ServiceFinderTimeoutTest.NotRespondingServer.runInternal() "+serverSocket); while (keepRunning.get()) {