Skip to content
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

Merged
merged 1 commit into from
Nov 20, 2018
Merged

Respect numShards in /database/create #1188

merged 1 commit into from
Nov 20, 2018

Conversation

justinjc
Copy link
Collaborator

No description provided.

}
},
"replicaFactor": 0,
"numShards": 0,
Copy link
Contributor

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
Copy link

codecov bot commented Nov 20, 2018

Codecov Report

Merging #1188 into master will increase coverage by <.1%.
The diff coverage is 100%.

Impacted file tree graph

@@           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
Flag Coverage Δ
#aggregator 81.6% <ø> (-0.1%) ⬇️
#cluster 85.6% <ø> (-0.1%) ⬇️
#collector 78.1% <ø> (ø) ⬆️
#dbnode 80.9% <ø> (ø) ⬆️
#m3em 73.2% <ø> (ø) ⬆️
#m3ninx 75.3% <ø> (ø) ⬆️
#m3nsch 51.1% <ø> (ø) ⬆️
#metrics 18.3% <ø> (ø) ⬆️
#msg 74.9% <ø> (-0.2%) ⬇️
#query 61.7% <100%> (ø) ⬆️
#x 74.4% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b4f851...6a81a2a. Read the comment docs.

@justinjc
Copy link
Collaborator Author

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 51 gets passed in correctly here.

Copy link
Contributor

@richardartoul richardartoul left a comment

Choose a reason for hiding this comment

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

LGTM

@justinjc justinjc merged commit 0285b2c into master Nov 20, 2018
@robskillington robskillington deleted the juchan/fix-create branch November 20, 2018 21:11
"blockDataExpiry": true,
"blockDataExpiryAfterNotAccessPeriodNanos": "300000000000"
},
"snapshotEnabled": false,
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants