Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ganglyu committed Aug 18, 2023
1 parent 82d65e9 commit 8435d4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gnmi_server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3880,6 +3880,8 @@ func TestMasterArbitration(t *testing.T) {
go runServer(t, s)
defer s.s.Stop()

prepareDb(t, sdcfg.GetDbDefaultNamespace())

tlsConfig := &tls.Config{InsecureSkipVerify: true}
opts := []grpc.DialOption{grpc.WithTransportCredentials(credentials.NewTLS(tlsConfig))}

Expand Down

0 comments on commit 8435d4d

Please sign in to comment.