Fix: service map component aware of agent config (#845)

* Fix: Service map component aware of mizu config
This commit is contained in:
Igor Gov
2022-02-23 09:35:05 +02:00
committed by GitHub
parent d2e91b4ffa
commit 97cce32e3f
4 changed files with 9 additions and 19 deletions

View File

@@ -6,7 +6,6 @@ import (
"testing"
"github.com/stretchr/testify/suite"
"github.com/up9inc/mizu/shared"
tapApi "github.com/up9inc/mizu/tap/api"
)
@@ -96,9 +95,7 @@ func (s *ServiceMapDisabledSuite) SetupTest() {
func (s *ServiceMapEnabledSuite) SetupTest() {
s.instance = GetInstance()
s.instance.SetConfig(&shared.MizuAgentConfig{
ServiceMap: true,
})
s.instance.Enable()
}
func (s *ServiceMapDisabledSuite) TestServiceMapInstance() {