-
Notifications
You must be signed in to change notification settings - Fork 454
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
Respect numShards in /database/create #1188
Conversation
} | ||
}, | ||
"replicaFactor": 0, | ||
"numShards": 0, |
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.
Why would you expect 0 shards in the response?
Codecov Report
@@ Coverage Diff @@
## master #1188 +/- ##
========================================
+ Coverage 71.1% 71.1% +<.1%
========================================
Files 737 737
Lines 61857 61858 +1
========================================
+ Hits 44006 44014 +8
+ Misses 15003 14996 -7
Partials 2848 2848
Continue to review full report at Codecov.
|
Not in the real world, but in this case, we'd just be testing whether whether our placement mock return is what we expect. The real thing we're testing in this new unit test is whether |
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
"blockDataExpiry": true, | ||
"blockDataExpiryAfterNotAccessPeriodNanos": "300000000000" | ||
}, | ||
"snapshotEnabled": false, |
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.
Hm why is snapshotEnabled false when using the database/create method?
No description provided.