Skip to content

Conversation

@Kris-10-0
Copy link
Contributor

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?

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

@Kris-10-0
Copy link
Contributor Author

I accidentally forced push my new commit, but the changes on the commit were to fix a typo and remove the concurrency test. There was no modification on the ordering of the commits.

SADD(new SAddExecutor(), SUPPORTED, new Parameter().min(3).flags(WRITE, DENYOOM, FAST)),
SDIFF(new SDiffExecutor(), SUPPORTED,
new Parameter().min(2).lastKey(-1).flags(READONLY, SORT_FOR_SCRIPT)),
SISMEMBER(new SIsMemberExecutor(), SUPPORTED, new Parameter().exact(3).flags(READONLY, FAST)),
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd recommend writing a simple unit test for RedisCommandType. It would just confirm that SISMEMBER is supported and maybe has an SIsMemberExecutor and 3 parameters including the READONLY and FAST flags.

Copy link
Contributor

Choose a reason for hiding this comment

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

The correctness of the RedisCommandType flags is tested and validated against native Redis in CommandIntegrationTest, and the parameters are tested in the sismemberWrongNumberOfArguments_returnsError test in AbstractSIsMemberIntegrationTest, so we have comprehensive coverage of this code.

@jdeppe-pivotal jdeppe-pivotal merged commit d093b73 into apache:develop Dec 8, 2021
@Kris-10-0 Kris-10-0 deleted the feature/GEODE-9831 branch January 25, 2022 17:05
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.

5 participants