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

Remove namespaces from example config and integration tests #2866

Merged
merged 4 commits into from
Nov 10, 2020

Conversation

nbroyles
Copy link
Collaborator

What this PR does / why we need it:

Integration tests now use new API functionality to create namespaces and relies on the coordinator dynamically updating.

Special notes for your reviewer:

Does this PR introduce a user-facing and/or backwards incompatible change?:


Does this PR require updating code package or user-facing documentation?:


@nbroyles nbroyles force-pushed the nb/update-integration-test branch 3 times, most recently from 048827b to deff308 Compare November 10, 2020 04:52
@codecov
Copy link

codecov bot commented Nov 10, 2020

Codecov Report

Merging #2866 (deff308) into master (c6a256d) will increase coverage by 0.2%.
The diff coverage is 75.0%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #2866     +/-   ##
========================================
+ Coverage    71.8%   72.1%   +0.2%     
========================================
  Files        1100    1100             
  Lines      100461   99941    -520     
========================================
- Hits        72220   72098    -122     
+ Misses      23285   22907    -378     
+ Partials     4956    4936     -20     
Flag Coverage Δ
aggregator 75.9% <ø> (-0.1%) ⬇️
cluster 85.0% <ø> (ø)
collector 84.3% <ø> (ø)
dbnode 79.3% <ø> (+0.7%) ⬆️
m3em 74.4% <ø> (ø)
m3ninx 73.1% <ø> (-0.4%) ⬇️
metrics 17.2% <ø> (ø)
msg 74.0% <ø> (ø)
query 68.8% <75.0%> (+<0.1%) ⬆️
x 80.3% <ø> (+<0.1%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.


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 c6a256d...deff308. Read the comment docs.

@@ -640,45 +640,40 @@ func newM3DBStorage(
namespaces = clusters.ClusterNamespaces()
downsampler downsample.Downsampler
)
if n := namespaces.NumAggregatedClusterNamespaces(); n > 0 {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Diff is weird here, but this change is just me removing the conditional on this line.

Copy link
Collaborator

@robskillington robskillington left a comment

Choose a reason for hiding this comment

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

LGTM

@nbroyles nbroyles merged commit 5b5c050 into master Nov 10, 2020
@nbroyles nbroyles deleted the nb/update-integration-test branch November 10, 2020 19:03
soundvibe added a commit that referenced this pull request Nov 11, 2020
* master: (28 commits)
  [dbnode] Add claims for index segments volume index (#2846)
  [dbnode] Remove namespaces from example config and integration tests (#2866)
  [dbnode] Resurrect flaky test skip (#2868)
  [aggregator] Fix checkCampaignStateLoop (#2867)
  [dbnode] implement deletion method in namespace kvadmin service (#2861)
  Replace closer with resource package (#2864)
  Add coding style guide (#2831)
  Add GOVERNANCE.md to describe governance (#2830)
  Add COMPATIBILITY.md to describe version compatibility (#2829)
  Refactor etcd config as discovery section with convenience types (#2843)
  Refactor x/lockfile into dbnode/server (#2862)
  [lint] Disable nlreturn linter (#2865)
  [m3cluster] Expose placement algorithm in placement service (#2858)
  [etcd] Set reasonable cluster connection/sync settings by default (#2860)
  [dbnode] Use bits.LeadingZeros64 to improve encoder performance (#2857)
  Cleanup m3nsch leftovers (#2856)
  Update ci-scripts to correct coverage tracking (#2854)
  [aggregator] Process campaign state without waiting for first campaign check interval (#2855)
  Bump go to 1.14 (#2853)
  [query] Remove single series error from M3
  ...
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.

None yet

2 participants