Skip to content

Commit

Permalink
Change Endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Mahad Zaryab <[email protected]>
  • Loading branch information
mahadzaryab1 committed Nov 12, 2024
1 parent 31adfa7 commit e3101ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/storage/grpc/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func makeMockServices() *ClientPluginServices {
func makeFactory(t *testing.T) *Factory {
f := NewFactory()
f.InitFromViper(viper.New(), zap.NewNop())
f.config.ClientConfig.Endpoint = "http://test.com"
f.config.ClientConfig.Endpoint = "test"
require.NoError(t, f.Initialize(metrics.NullFactory, zap.NewNop()))

t.Cleanup(func() {
Expand Down Expand Up @@ -123,7 +123,7 @@ func TestNewFactoryError(t *testing.T) {
// this is a silly test to verify handling of error from grpc.NewClient, which cannot be induced via params.
f, err := NewFactoryWithConfig(Config{
ClientConfig: configgrpc.ClientConfig{
Endpoint: "http://test.com",
Endpoint: "test",
},
}, metrics.NullFactory, zap.NewNop(), componenttest.NewNopHost())
require.NoError(t, err)
Expand Down

0 comments on commit e3101ca

Please sign in to comment.