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

Ready: Make integration tests great again #657

Merged
merged 18 commits into from
Aug 17, 2016

Conversation

alexmoore
Copy link
Contributor

@alexmoore alexmoore commented Aug 11, 2016

Fix for #656 (CLIENTS-960).

c4d8383 Fixes ITestListKeysOperation.testSingleFetch -> fails on key comparison.
414748e Fixes ITestFullBucketRead -> All tests can throw sibling found exceptions on multi-node test setups.

c52e990 + 61f474e Fixes RiakClusterFixtureTest.testOperationQueue -> times out.

Remainder fix ITestCoveragePlan: fetchAllDataByUsingCoverageContext -> get null pointer exception.

@alexmoore alexmoore added this to the riak-java-client-2.0.7 milestone Aug 16, 2016
@alexmoore alexmoore changed the title Make integration tests great again Ready: Make integration tests great again Aug 16, 2016
@@ -371,9 +371,9 @@ public void await() throws InterruptedException
}

@Override
public void await(long timeout, TimeUnit unit) throws InterruptedException
public boolean await(long timeout, TimeUnit unit) throws InterruptedException
{
Copy link
Contributor

Choose a reason for hiding this comment

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

Could this cause backwards incompatibility?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope. If they don't assign/use the return value then the behavior is exactly the same. If they want to use it though, they can change their code.

Copy link

Choose a reason for hiding this comment

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

@christophermancini
Copy link
Contributor

👍 Tests pass. Code looks good. Might want to keep in mind when it comes to release if there are breaking changes in this PR.

@srgg
Copy link
Contributor

srgg commented Aug 17, 2016

@alexmoore what is this reminder about:

Remainder fix ITestCoveragePlan: fetchAllDataByUsingCoverageContext -> get null pointer exception.

?

@alexmoore
Copy link
Contributor Author

@srgg Oh, I meant the remainder (the rest of) the commits were for that fix.

@alexmoore
Copy link
Contributor Author

@christophermancini Yeah, including a return type where one didn't before shouldn't break anything in this case, we're just passing on a little bit of extra information that has no effect on the computation.

@srgg
Copy link
Contributor

srgg commented Aug 17, 2016

👍 LGTM

@alexmoore alexmoore merged commit f3d931d into develop Aug 17, 2016
@alexmoore alexmoore deleted the make-integration-tests-great-again branch August 17, 2016 14:11
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.

4 participants