From 027118d7aa57dc880606e21be26376f6813a7f1e Mon Sep 17 00:00:00 2001 From: Jerry Leung Date: Wed, 18 Sep 2024 11:57:32 -0700 Subject: [PATCH] Updated --- .../telemetryapireceiver/generated_component_test.go | 12 ------------ 1 file changed, 12 deletions(-) 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())) - //}) } }