From 9e155d7250897d4b3f8bc572e6aed908e76669f5 Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Fri, 3 Oct 2025 10:20:40 -0400 Subject: [PATCH] Update for newer telemetry --- internal/rpcapi/telemetry_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/rpcapi/telemetry_test.go b/internal/rpcapi/telemetry_test.go index 122bb87fe3..01d4245bbf 100644 --- a/internal/rpcapi/telemetry_test.go +++ b/internal/rpcapi/telemetry_test.go @@ -12,6 +12,7 @@ import ( "github.com/davecgh/go-spew/spew" "github.com/google/go-cmp/cmp" + "github.com/google/go-cmp/cmp/cmpopts" "github.com/hashicorp/terraform/internal/rpcapi/terraform1/setup" @@ -215,7 +216,7 @@ func TestTelemetryInTests(t *testing.T) { }, } - if diff := cmp.Diff(wantSpans, gotSpans); diff != "" { + if diff := cmp.Diff(wantSpans, gotSpans, cmpopts.IgnoreUnexported(attribute.Set{})); diff != "" { t.Errorf("wrong spans\n%s", diff) } }