From 886c4b4b0257aab5c501d1e0f247deb4850ad3af Mon Sep 17 00:00:00 2001 From: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com> Date: Tue, 2 Apr 2024 15:47:40 -0600 Subject: [PATCH] [chore] fix flaky OTTL test (#32131) --- pkg/ottl/ottlfuncs/func_string_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/ottl/ottlfuncs/func_string_test.go b/pkg/ottl/ottlfuncs/func_string_test.go index a625981594007..3bd2d1b71bcc4 100644 --- a/pkg/ottl/ottlfuncs/func_string_test.go +++ b/pkg/ottl/ottlfuncs/func_string_test.go @@ -71,8 +71,8 @@ func Test_String(t *testing.T) { }, { name: "map", - value: map[int]bool{1: true, 2: false}, - expected: string("{\"1\":true,\"2\":false}"), + value: map[int]bool{1: true}, + expected: string("{\"1\":true}"), }, { name: "slice",