From 05fe6c65a6e7c60f25357d0ae19d143d668ba7db Mon Sep 17 00:00:00 2001 From: Panos Koutsovasilis Date: Mon, 27 May 2024 17:42:37 +0300 Subject: [PATCH] fix: increase ctx timeout in cel unit-tests (#39713) (cherry picked from commit f3bd8f2e798f29cba8ab71a1896a04069fa5c149) --- x-pack/filebeat/input/cel/input_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/filebeat/input/cel/input_test.go b/x-pack/filebeat/input/cel/input_test.go index 1ee7704f826..7cb73fe2cea 100644 --- a/x-pack/filebeat/input/cel/input_test.go +++ b/x-pack/filebeat/input/cel/input_test.go @@ -1434,7 +1434,7 @@ func TestInput(t *testing.T) { t.Fatalf("unexpected error running test: %v", err) } - ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second) + ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) defer cancel() v2Ctx := v2.Context{