diff --git a/collector/receiver/telemetryapireceiver/generated_component_test.go b/collector/receiver/telemetryapireceiver/generated_component_test.go index 380bea8de4..b362d755a3 100644 --- a/collector/receiver/telemetryapireceiver/generated_component_test.go +++ b/collector/receiver/telemetryapireceiver/generated_component_test.go @@ -67,17 +67,5 @@ func TestComponentLifecycle(t *testing.T) { err = c.Shutdown(context.Background()) require.NoError(t, err) }) - //t.Run(test.name+"-lifecycle", func(t *testing.T) { - // firstRcvr, err := test.createFn(context.Background(), receivertest.NewNopSettings(), cfg) - // require.NoError(t, err) - // host := componenttest.NewNopHost() - // require.NoError(t, err) - // require.NoError(t, firstRcvr.Start(context.Background(), host)) - // require.NoError(t, firstRcvr.Shutdown(context.Background())) - // secondRcvr, err := test.createFn(context.Background(), receivertest.NewNopSettings(), cfg) - // require.NoError(t, err) - // require.NoError(t, secondRcvr.Start(context.Background(), host)) - // require.NoError(t, secondRcvr.Shutdown(context.Background())) - //}) } }