Skip to content

Commit

Permalink
[chore][pkg/stanza][exporter/signalfx] One more interface{} -> any an…
Browse files Browse the repository at this point in the history
  • Loading branch information
songy23 authored and jmsnll committed Nov 12, 2023
1 parent 631bb27 commit 3a72cf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions exporter/signalfxexporter/exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,7 @@ func TestTLSExporterInit(t *testing.T) {
}

func TestTLSIngestConnection(t *testing.T) {
t.Skip("Flaky test see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/29099")
metricsPayload := pmetric.NewMetrics()
rm := metricsPayload.ResourceMetrics().AppendEmpty()
ilm := rm.ScopeMetrics().AppendEmpty()
Expand Down Expand Up @@ -1318,6 +1319,7 @@ func TestDefaultSystemCPUTimeExcludedAndTranslated(t *testing.T) {
}

func TestTLSAPIConnection(t *testing.T) {
t.Skip("Flaky test see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/29099")
cfg := createDefaultConfig().(*Config)
converter, err := translation.NewMetricsConverter(
zap.NewNop(),
Expand Down
2 changes: 1 addition & 1 deletion pkg/stanza/operator/input/udp/udp.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (c Config) Build(logger *zap.SugaredLogger) (operator.Operator, error) {
if c.AsyncConfig != nil {
udpInput.messageQueue = make(chan messageAndAddress, c.AsyncConfig.MaxQueueLength)
udpInput.readBufferPool = sync.Pool{
New: func() interface{} {
New: func() any {
buffer := make([]byte, MaxUDPSize)
return &buffer
},
Expand Down

0 comments on commit 3a72cf9

Please sign in to comment.