Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

fix several issues (partially close #42) #57

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

nurzhan-saktaganov
Copy link
Collaborator

@nurzhan-saktaganov nurzhan-saktaganov commented Sep 6, 2024

  • RouterCallImpl: fix decoding responce from storage_ref
  • RouterCallImpl: fix decoding responce from storage_map
  • BucketDiscovery: check res for nil
  • BucketStat: decode bsInfo by ptr
  • Add tnt tests for disvoery logic
  • Add tnt tests for RouterCallImpl
  • Add tnt tests for RouterMapCallRWImpl

P.S. coverage is 69.8% now

@nurzhan-saktaganov nurzhan-saktaganov force-pushed the nsaktaganov_tests_and_bugfixes_7_sep_2024 branch from fc2de61 to a287b91 Compare September 7, 2024 13:55
@nurzhan-saktaganov nurzhan-saktaganov changed the title WIP WIP: fix several issues (partially close #42) Sep 7, 2024
@nurzhan-saktaganov nurzhan-saktaganov added bug Something isn't working tests labels Sep 7, 2024
@nurzhan-saktaganov nurzhan-saktaganov force-pushed the nsaktaganov_tests_and_bugfixes_7_sep_2024 branch from a287b91 to 0035bcc Compare September 12, 2024 17:03
@nurzhan-saktaganov nurzhan-saktaganov changed the base branch from nsaktganov_tnt_test_coverage_up to master September 12, 2024 17:03
@nurzhan-saktaganov nurzhan-saktaganov changed the title WIP: fix several issues (partially close #42) fix several issues (partially close #42) Sep 12, 2024
@nurzhan-saktaganov nurzhan-saktaganov marked this pull request as ready for review September 12, 2024 17:04
@nurzhan-saktaganov nurzhan-saktaganov force-pushed the nsaktaganov_tests_and_bugfixes_7_sep_2024 branch from 0035bcc to 8284b21 Compare September 12, 2024 17:07
@codecov-commenter
Copy link

codecov-commenter commented Sep 12, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 6.66667% with 28 lines in your changes missing coverage. Please review.

Project coverage is 32.24%. Comparing base (7938584) to head (dc27e94).

Files with missing lines Patch % Lines
api.go 3.84% 25 Missing ⚠️
discovery.go 33.33% 2 Missing ⚠️
replicaset.go 0.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #57      +/-   ##
==========================================
- Coverage   32.39%   32.24%   -0.15%     
==========================================
  Files          10       10              
  Lines         673      676       +3     
==========================================
  Hits          218      218              
- Misses        439      442       +3     
  Partials       16       16              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

* RouterCallImpl: fix decoding response from storage_ref
* RouterCallImpl: fix decoding response from storage_map
* BucketDiscovery: check res for nil
* BucketStat: decode bsInfo by ptr
* Add tnt tests for discovery logic
* Add tnt tests for RouterCallImpl
* Add tnt tests for RouterMapCallRWImpl
* Add tnt tests for topology logic
@nurzhan-saktaganov nurzhan-saktaganov force-pushed the nsaktaganov_tests_and_bugfixes_7_sep_2024 branch from 8284b21 to 63a87f2 Compare September 12, 2024 17:27
@@ -10,6 +17,9 @@ REFACTOR:
* resolve issue #46: drastically simplify RouterMapCallRWImpl and added tests with real tnt
* Use typed nil pointers instead of memory allocation for EmptyMetrics and emptyLogger structs
* New test for RouterCallImpl (and fix the old one)
* New tnt tests for discovery logic
Copy link
Owner

Choose a reason for hiding this comment

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

let's make a new block and call it TESTS

@KaymeKaydex KaymeKaydex merged commit 696fc12 into master Sep 13, 2024
2 checks passed
@nurzhan-saktaganov nurzhan-saktaganov deleted the nsaktaganov_tests_and_bugfixes_7_sep_2024 branch September 17, 2024 16:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants