Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try and make AnnouncerTest a bit more predictable #1795

Merged
merged 1 commit into from
Oct 2, 2015

Conversation

drcrallen
Copy link
Contributor

Indentation changes make this look bigger than it is.

@@ -60,6 +60,7 @@ public void tearDown()
public void testSanity() throws Exception
{
curator.start();
curator.blockUntilConnected();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since this is unbounded blocking, can you add a timeout to this (and other) tests with @test ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added timeout for tests which block until connected.

@nishantmonu51
Copy link
Member

👍

himanshug added a commit that referenced this pull request Oct 2, 2015
Try and make AnnouncerTest a bit more predictable
@himanshug himanshug merged commit 166c4fc into apache:master Oct 2, 2015
@drcrallen drcrallen deleted the announcerTestTransactions branch October 2, 2015 18:46
seoeun25 pushed a commit to seoeun25/incubator-druid that referenced this pull request Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants