Skip to content

Conversation

@denis-tingaikin
Copy link
Member

@denis-tingaikin denis-tingaikin commented Dec 25, 2023

Description

Issue link

Closes #1507
Closes networkservicemesh/deployments-k8s#5435
Closes networkservicemesh/cmd-registry-proxy#1
Closes networkservicemesh/cmd-registry-proxy#2
Closes networkservicemesh/deployments-k8s#9318
Closes networkservicemesh/deployments-k8s#8343

How Has This Been Tested?

  • Added unit testing to cover
  • Tested manually
  • Tested by integration testing
  • Have not tested

Types of changes

  • Bug fix
  • New functionality
  • Documentation
  • Refactoring
  • CI

@codecov
Copy link

codecov bot commented Dec 25, 2023

Codecov Report

❌ Patch coverage is 64.86486% with 52 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@d76b20e). Learn more about missing BASE report.

Files with missing lines Patch % Lines
pkg/tools/dnsutils/memory/handler.go 18.51% 22 Missing ⚠️
pkg/tools/dnsutils/memory/options.go 0.00% 8 Missing ⚠️
pkg/registry/common/dnsresolve/nse_server.go 78.12% 4 Missing and 3 partials ⚠️
pkg/registry/common/dnsresolve/ns_client.go 0.00% 5 Missing ⚠️
pkg/registry/chains/proxydns/server.go 81.81% 3 Missing and 1 partial ⚠️
pkg/registry/chains/memory/server.go 62.50% 3 Missing ⚠️
pkg/registry/common/dnsresolve/nse_client.go 0.00% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1571   +/-   ##
=======================================
  Coverage        ?   67.09%           
=======================================
  Files           ?      261           
  Lines           ?    12347           
  Branches        ?        0           
=======================================
  Hits            ?     8284           
  Misses          ?     3535           
  Partials        ?      528           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@denis-tingaikin denis-tingaikin force-pushed the use-dns-target branch 3 times, most recently from 3b20292 to c932ea9 Compare January 15, 2024 23:50
require.Equal(t, name+"@"+domains[2].Name, list[0].Name)
}

func TestXX(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should add some require in this test

if b.domain.Registry != nil {
require.NoError(b.t, AddSRVEntry(b.dnsResolver, b.name, dnsresolve.DefaultRegistryService, CloneURL(b.domain.Registry.URL)))
func (b *Builder) addDNSRecords() {
if b.domain.DNSServer == nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe add some warnings here? If DNSServer is not set

@denis-tingaikin denis-tingaikin changed the title Use dns target for interdomain scenarious Allow using grpc dns target for interdomain scenarious Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants