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

[TACHYON-1544] Fix flakiness in getCapacityTest #2473

Merged
merged 6 commits into from Jan 14, 2016
Merged

[TACHYON-1544] Fix flakiness in getCapacityTest #2473

merged 6 commits into from Jan 14, 2016

Conversation

aaudiber
Copy link
Contributor

https://tachyon.atlassian.net/browse/TACHYON-1544

This PR changes LocalTachyonCluster to until the worker has registered before returning from its start() method. This should fix the race condition where getCapacityTest checks the master's capacity before the worker has registered its capacity.

@calvinjia
Copy link
Contributor

Thanks for the fix, LGTM

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7880/
Test PASSed.

@gpang
Copy link
Contributor

gpang commented Jan 14, 2016

LGTM

gpang added a commit that referenced this pull request Jan 14, 2016
[TACHYON-1544] Fix flakiness in getCapacityTest
@gpang gpang merged commit 961c266 into Alluxio:master Jan 14, 2016
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.

None yet

4 participants