Skip to content

Conversation

@DonalEvans
Copy link
Contributor

Authored-by: Donal Evans doevans@vmware.com

Thank you for submitting a contribution to Apache Geode.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

For all changes:

  • Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

  • Has your PR been rebased against the latest commit within the target branch (typically develop)?

  • Is your initial contribution a single, squashed commit?

  • Does gradlew build run cleanly?

  • Have you written or updated unit tests to verify your changes?

  • If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:

Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to dev@geode.apache.org.

Authored-by: Donal Evans <doevans@vmware.com>
@DonalEvans DonalEvans added the redis Issues related to the geode-for-redis module label Aug 23, 2021
Copy link
Contributor

@demery-pivotal demery-pivotal left a comment

Choose a reason for hiding this comment

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

Looks good.

int randomPort = AvailablePortHelper.getRandomAvailableTCPPort();
return rule.withProperty(REDIS_BIND_ADDRESS, BIND_ADDRESS)
.withProperty(REDIS_PORT, "0")
.withProperty(REDIS_PORT, String.valueOf(randomPort))
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider this to eliminate a bit of duplication:

return withRedis(rule, String.valueOf(randomPort))

Authored-by: Donal Evans <doevans@vmware.com>
Authored-by: Donal Evans <doevans@vmware.com>
@DonalEvans DonalEvans merged commit fdda7db into apache:develop Aug 24, 2021
@DonalEvans DonalEvans deleted the feature/GEODE-9506 branch August 24, 2021 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

redis Issues related to the geode-for-redis module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants