From 9bd0d187aa5c70b16b2d2cf4879e9d8c7a0ba791 Mon Sep 17 00:00:00 2001 From: Michal Pristas Date: Tue, 23 Apr 2024 17:46:09 +0200 Subject: [PATCH] updated test --- testing/integration/otel_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/integration/otel_test.go b/testing/integration/otel_test.go index 07a1640cf5d..27396093353 100644 --- a/testing/integration/otel_test.go +++ b/testing/integration/otel_test.go @@ -206,7 +206,7 @@ func validateCommandIsWorking(t *testing.T, ctx context.Context, fixture *aTesti require.NoError(t, err) // check feature gate works - out, err = fixture.Exec(ctx, []string{"otel", "validate", "--config", cfgFilePath, "--feature-gates", "foo.bar"}) + out, err := fixture.Exec(ctx, []string{"otel", "validate", "--config", cfgFilePath, "--feature-gates", "foo.bar"}) require.Error(t, err) require.Contains(t, string(out), `no such feature gate "foo.bar"`)