-
Notifications
You must be signed in to change notification settings - Fork 41
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
Add more blocking commands #253
Conversation
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #253 +/- ##
==========================================
+ Coverage 94.12% 94.22% +0.09%
==========================================
Files 87 87
Lines 5279 5370 +91
Branches 496 503 +7
==========================================
+ Hits 4969 5060 +91
- Misses 183 184 +1
+ Partials 127 126 -1 ☔ View full report in Codecov by Sentry. |
The current naming for the blocking commands does not feel right. For example "BzmPop", it feels like there are no naming rules. So rename existing methods by this rule: Use capital letters at the beginning of human-readable words, e.g. "Pop", and also use capital letters where the Redis command has a single letter, e.g. "B", which stands for "Blocking", "Z" which stands for "Set" and "M" which stands for "Multi". So the new name is "BZMPop". It's still a good time to do such renaming, because these commands have not been released. Also it is a crucial moment to get the naming as right as possible, for the same reason.
aff2277
to
c6ccaf0
Compare
[SkipIfRedis(Is.OSSCluster, Comparison.LessThan, "7.0.0")] | ||
public void TestBLMPop() | ||
{ | ||
var redis = ConnectionMultiplexer.Connect("localhost"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should use redisFixture.Redis
instead of this (applies to all tests)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True. I updated to use the fixture everywhere in CoreTests.
Add support for BLPOP, BRPOP, BLMPOP.