Skip to content

Commit

Permalink
add ton of logs for deubbing
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>
  • Loading branch information
denis-tingaikin committed Oct 31, 2021
1 parent 5f59843 commit 710c7ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/networkservice/chains/nsmgr/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ import (
"github.com/networkservicemesh/sdk/pkg/networkservice/utils/count"
"github.com/networkservicemesh/sdk/pkg/networkservice/utils/inject/injecterror"
registryclient "github.com/networkservicemesh/sdk/pkg/registry/chains/client"
"github.com/networkservicemesh/sdk/pkg/tools/log"
"github.com/networkservicemesh/sdk/pkg/tools/log/logruslogger"
"github.com/networkservicemesh/sdk/pkg/tools/sandbox"
)

Expand Down Expand Up @@ -76,6 +78,9 @@ func (s *nsmgrSuite) SetupSuite() {
goleak.VerifyNone(s.T())
})

ctx = log.WithLog(ctx, logruslogger.New(ctx))
log.EnableTracing(true)

// Create default domain with nodesCount nodes, which will be enough for any test
s.domain = sandbox.NewBuilder(ctx, t).
SetNodesCount(nodesCount).
Expand Down

0 comments on commit 710c7ab

Please sign in to comment.