Commit 3c4138f3 authored by Alexander Koshevoy's avatar Alexander Koshevoy
Browse files

EA-116084 Raise Python debugger connection time out exception earlier than the...

EA-116084 Raise Python debugger connection time out exception earlier than the late precondition check
parent c0a9f3d9
Showing with 3 additions and 1 deletion
+3 -1
...@@ -129,7 +129,9 @@ public class ClientModeMultiProcessDebugger implements ProcessDebugger { ...@@ -129,7 +129,9 @@ public class ClientModeMultiProcessDebugger implements ProcessDebugger {
myExecutor.incrementRequests(); myExecutor.incrementRequests();
// waiting for the first connected thread // waiting for the first connected thread
myConnectedLatch.await(60, TimeUnit.SECONDS); if (!myConnectedLatch.await(60, TimeUnit.SECONDS)) {
throw new IOException("Connection to the debugger script at " + myHost + ":" + myPort + " timed out");
}
} }
@Override @Override
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment