-
Notifications
You must be signed in to change notification settings - Fork 78
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
Cassandra option test (part 2) #724
Conversation
Best reviewed: commit by commit
|
/rebase |
[CHATOPS:HELP] ChatOps commands.
|
[REBASE] Rebase triggered by kevindiu for branch: test/internal/cassandra-option-part2 |
0a59c20
to
8e5e32a
Compare
Codecov Report
@@ Coverage Diff @@
## master #724 +/- ##
==========================================
+ Coverage 14.79% 15.25% +0.46%
==========================================
Files 419 419
Lines 19449 19477 +28
==========================================
+ Hits 2878 2972 +94
+ Misses 16347 16286 -61
+ Partials 224 219 -5
Continue to review full report at Codecov.
|
/rebase |
[REBASE] Rebase triggered by kevindiu for branch: test/internal/cassandra-option-part2 |
8e5e32a
to
f258470
Compare
want: want{ | ||
err: errors.NewErrCriticalOption("consistency", "dummy"), | ||
obj: &T{}, | ||
}, |
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.
could you please add test about the following link?
vald/internal/db/nosql/cassandra/option.go
Line 210 in e4ad9b8
actual, ok := consistenciesMap[strings.TrimSpace(strings.Trim(strings.Trim(strings.ToLower(consistency), "_"), "-"))] |
I think this code is comprex, so we should add other pattern.
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.
LGTM
/rebase |
[REBASE] Rebase triggered by vankichi for branch: test/internal/cassandra-option-part2 |
c1f3e62
to
b443696
Compare
[FORMAT] Updating license headers and formatting go codes triggered by vankichi. |
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.
[APPROVED] This PR is approved by vankichi.
Description:
This PR implements cassandra option test.
It also includes the refactoring of FOP written in guideline.
Related Issue:
How Has This Been Tested?:
Environment:
Types of changes:
Changes to Core Features:
Checklist: