Skip to content

Commit

Permalink
[trace] mark TestOnUpdateAPIKeyCallback as flake on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
pducolin committed Nov 5, 2024
1 parent 0ad9119 commit b0369fe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions comp/trace/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"path/filepath"
"reflect"
"regexp"
"runtime"
"strings"
"testing"
"text/template"
Expand All @@ -39,6 +40,7 @@ import (
traceconfig "github.com/DataDog/datadog-agent/pkg/trace/config"
"github.com/DataDog/datadog-agent/pkg/util/fxutil"
"github.com/DataDog/datadog-agent/pkg/util/log"
"github.com/DataDog/datadog-agent/pkg/util/testutil/flake"
)

// team: agent-apm
Expand Down Expand Up @@ -2218,6 +2220,10 @@ func TestDisableReceiverConfig(t *testing.T) {
}

func TestOnUpdateAPIKeyCallback(t *testing.T) {
// APMSP-1494
if runtime.GOOS == "darwin" {
flake.Mark(t)
}
var n int
callback := func(_, _ string) {
n++
Expand Down

0 comments on commit b0369fe

Please sign in to comment.