Skip to content

Commit 9e155d7

Browse files
committed
Update for newer telemetry
1 parent c7c3888 commit 9e155d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/rpcapi/telemetry_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212

1313
"github.com/davecgh/go-spew/spew"
1414
"github.com/google/go-cmp/cmp"
15+
"github.com/google/go-cmp/cmp/cmpopts"
1516

1617
"github.com/hashicorp/terraform/internal/rpcapi/terraform1/setup"
1718

@@ -215,7 +216,7 @@ func TestTelemetryInTests(t *testing.T) {
215216
},
216217
}
217218

218-
if diff := cmp.Diff(wantSpans, gotSpans); diff != "" {
219+
if diff := cmp.Diff(wantSpans, gotSpans, cmpopts.IgnoreUnexported(attribute.Set{})); diff != "" {
219220
t.Errorf("wrong spans\n%s", diff)
220221
}
221222
}

0 commit comments

Comments
 (0)