From 3a22913c4f1d9d565695ac06f6cf16e5cdbf9dbe Mon Sep 17 00:00:00 2001 From: pducolin <45568537+pducolin@users.noreply.github.com> Date: Tue, 5 Nov 2024 15:49:52 +0100 Subject: [PATCH] [trace] skip TestOnUpdateAPIKeyCallback on macos (#30763) --- 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 714300b99e99c..86c3c03833e3d 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++