From 7d4288390934dcbe68e3ae83abe451d265071dd1 Mon Sep 17 00:00:00 2001 From: simont1 Date: Fri, 12 Apr 2024 10:17:28 -0400 Subject: [PATCH] use the root flag enum value --- test/new-e2e/tests/apm/tests.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/new-e2e/tests/apm/tests.go b/test/new-e2e/tests/apm/tests.go index 34f0e8d349522..5a45b6c0e5318 100644 --- a/test/new-e2e/tests/apm/tests.go +++ b/test/new-e2e/tests/apm/tests.go @@ -122,7 +122,7 @@ func testIsTraceRootTag(t *testing.T, c *assert.CollectT, intake *components.Fak for _, b := range s.Stats { for _, cs := range b.Stats { t.Logf("Got IsTraceRoot: %v", cs.GetIsTraceRoot()) - assert.Equal(t, "true", cs.GetIsTraceRoot()) + assert.Equal(t, trace.TraceRootFlag_TRUE, cs.GetIsTraceRoot()) } } }