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

Fix test fail of PollingLookupTest.testApplyAfterDataChange #3489

Merged
merged 1 commit into from
Sep 22, 2016

Conversation

navis
Copy link
Contributor

@navis navis commented Sep 22, 2016

For fixing #3480

When using timeout in unit test, junit makes separate thread to run it. In this case, it seemed takes more time than current polling interval (100msec) in sometimes. If we make PollingLookup inside of the test method instead of @Before, it'll not happen I think. But just making the interval a little longer (1sec, in this patch) seemed enough.

@navis navis changed the title Fix test fail of PollingLookupTest.testApplyAfterDataChange (#3480) Fix test fail of PollingLookupTest.testApplyAfterDataChange Sep 22, 2016
@b-slim
Copy link
Contributor

b-slim commented Sep 22, 2016

👍

@gianm gianm added this to the 0.9.2 milestone Sep 22, 2016
Copy link
Contributor

@gianm gianm left a comment

Choose a reason for hiding this comment

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

👍

@gianm gianm merged commit 74e1243 into apache:master Sep 22, 2016
drcrallen pushed a commit to metamx/druid that referenced this pull request Sep 27, 2016
seoeun25 pushed a commit to seoeun25/incubator-druid that referenced this pull request Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants