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

Add test for attributesFromError method #1801

Merged
merged 2 commits into from
Oct 5, 2022

Conversation

hlts2
Copy link
Contributor

@hlts2 hlts2 commented Oct 5, 2022

Description:

As titled

Related Issue:

How Has This Been Tested?:

Environment:

  • Go Version: 1.19.1
  • Docker Version: 20.10.8
  • Kubernetes Version: 1.22.0
  • NGT Version: 1.14.8

Types of changes:

  • Bug fix [type/bug]
  • New feature [type/feature]
  • Add tests [type/test]
  • Security related changes [type/security]
  • Add documents [type/documentation]
  • Refactoring [type/refactoring]
  • Update dependencies [type/dependency]
  • Update benchmarks and performances [type/bench]
  • Update CI [type/ci]

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

Checklist:

  • I have read the CONTRIBUTING document.
  • I have checked open Pull Requests for the similar feature or fixes?
  • I have added tests and benchmarks to cover my changes.
  • I have ensured all new and existing tests passed.
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly.

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
@vdaas-ci
Copy link
Collaborator

vdaas-ci commented Oct 5, 2022

[CHATOPS:HELP] ChatOps commands.

  • 🙆‍♀️ /approve - approve
  • 💌 /changelog - replace the PR body by changelog details
  • 🍱 /format - format codes and add licenses
  • /gen-test - generate test codes
  • 🏷️ /label - add labels
  • /rebase - rebase main
  • 🔚 2️⃣ 🔚 /label actions/e2e-deploy - run E2E deploy & integration test

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 5, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: f3f5784
Status: ✅  Deploy successful!
Preview URL: https://c95accf7.vald.pages.dev
Branch Preview URL: https://test-internal-server-interce.vald.pages.dev

View logs

@codecov
Copy link

codecov bot commented Oct 5, 2022

Codecov Report

Base: 30.06% // Head: 30.10% // Increases project coverage by +0.04% 🎉

Coverage data is based on head (f3f5784) compared to base (82458a8).
Patch coverage: 91.66% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1801      +/-   ##
==========================================
+ Coverage   30.06%   30.10%   +0.04%     
==========================================
  Files         371      371              
  Lines       33988    33991       +3     
==========================================
+ Hits        10217    10232      +15     
+ Misses      23358    23348      -10     
+ Partials      413      411       -2     
Impacted Files Coverage Δ
...ernal/net/grpc/interceptor/server/metric/metric.go 22.91% <91.66%> (+22.91%) ⬆️
...nt/core/ngt/service/vqueue/uninserted_index_map.go 73.22% <0.00%> (-2.74%) ⬇️
internal/worker/queue.go 98.73% <0.00%> (-1.27%) ⬇️
internal/net/dialer.go 77.40% <0.00%> (-1.00%) ⬇️
internal/worker/worker.go 83.07% <0.00%> (+1.53%) ⬆️
internal/net/http/middleware/timeout.go 93.33% <0.00%> (+2.22%) ⬆️
...ent/core/ngt/service/vqueue/undeleted_index_map.go 76.66% <0.00%> (+5.55%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kpango kpango merged commit 2044e69 into main Oct 5, 2022
@kpango kpango deleted the test/internal/server-interceptor-test branch October 5, 2022 08:06
@hlts2 hlts2 mentioned this pull request Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants