From 0bf64eedf650e91e21f2f2c0998f9774be1734d7 Mon Sep 17 00:00:00 2001 From: "agent-platform-auto-pr[bot]" <153269286+agent-platform-auto-pr[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 09:40:46 +0000 Subject: [PATCH] [Backport 7.60.x] [trace] skip TestOnUpdateAPIKeyCallback on macos (#30771) Co-authored-by: pducolin <45568537+pducolin@users.noreply.github.com> --- comp/trace/config/config_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/comp/trace/config/config_test.go b/comp/trace/config/config_test.go index f83200f9a5fce..9c90d9c3a11d4 100644 --- a/comp/trace/config/config_test.go +++ b/comp/trace/config/config_test.go @@ -18,6 +18,7 @@ import ( "path/filepath" "reflect" "regexp" + "runtime" "strings" "testing" "text/template" @@ -2218,6 +2219,10 @@ func TestDisableReceiverConfig(t *testing.T) { } func TestOnUpdateAPIKeyCallback(t *testing.T) { + // APMSP-1494 + if runtime.GOOS == "darwin" { + t.Skip("skipping flaky test on darwin") + } var n int callback := func(_, _ string) { n++