From be27d76c95df72017ae9865238ef76f2b4d7fdf3 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 18:13:53 +0000 Subject: [PATCH] Skip flaky tests TestFileWatcher and TestGroup_Go (#41223) (#41228) --------- Co-authored-by: Denis (cherry picked from commit e9617a7d7375ddb536d64197d745b32bd43dceac) Co-authored-by: Tiago Queiroz --- filebeat/input/filestream/fswatch_test.go | 1 + filebeat/input/filestream/internal/task/group_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/filebeat/input/filestream/fswatch_test.go b/filebeat/input/filestream/fswatch_test.go index 3fab8bfd2bd..528caec79de 100644 --- a/filebeat/input/filestream/fswatch_test.go +++ b/filebeat/input/filestream/fswatch_test.go @@ -36,6 +36,7 @@ import ( ) func TestFileWatcher(t *testing.T) { + t.Skip("Flaky test: https://github.com/elastic/beats/issues/41209") dir := t.TempDir() paths := []string{filepath.Join(dir, "*.log")} cfgStr := ` diff --git a/filebeat/input/filestream/internal/task/group_test.go b/filebeat/input/filestream/internal/task/group_test.go index 30b9858a1de..db50ef3ccab 100644 --- a/filebeat/input/filestream/internal/task/group_test.go +++ b/filebeat/input/filestream/internal/task/group_test.go @@ -67,6 +67,7 @@ func TestNewGroup(t *testing.T) { } func TestGroup_Go(t *testing.T) { + t.Skip("Flaky tests: https://github.com/elastic/beats/issues/41218") t.Run("don't run more than limit goroutines", func(t *testing.T) { done := make(chan struct{}) defer close(done)