Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
  • Loading branch information
JaredTan95 committed Dec 27, 2024
1 parent c8d7294 commit 47b74b2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ func TestExtension_Start(t *testing.T) {
getExtension func() (extension.Extension, error)
expectedErr string
}{

{
name: "skywalkingProtobuf",
getExtension: func() (extension.Extension, error) {
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
cfg.(*Config).Protocol = "skywalking_protocol"
return factory.CreateExtension(context.Background(), extensiontest.NewNopSettings(), cfg)
return factory.Create(context.Background(), extensiontest.NewNopSettings(), cfg)
},
},
}
Expand Down

0 comments on commit 47b74b2

Please sign in to comment.