[ 
https://issues.apache.org/jira/browse/CURATOR-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055026#comment-14055026
 ] 

Steve Loughran commented on CURATOR-117:
----------------------------------------

This could be done with the countdown latch waiting for a time period, but 
better may be for the ZK startup thread to signal the service as started even 
when it throws an exception -and then for {{TestingServer.start()}} to pick 
that up and relay it to the JUnit thread.

> TestingServer to detect failures of 
> ------------------------------------
>
>                 Key: CURATOR-117
>                 URL: https://issues.apache.org/jira/browse/CURATOR-117
>             Project: Apache Curator
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: 2.4.1
>            Reporter: Steve Loughran
>            Priority: Minor
>
> {{TestingServer}} blocks until the ZK server is started. But if it doesn't 
> start for some reason, the block lasts until the test run times out -which 
> then fails the test with little in terms of meaningful messages.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to