From 179a7a1603276c7b7bae24284021e232516325c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9mi=20V=C3=A1nyi?= Date: Tue, 13 Apr 2021 18:20:25 +0200 Subject: [PATCH] add missing new symlinking --- filebeat/input/filestream/input_integration_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/filebeat/input/filestream/input_integration_test.go b/filebeat/input/filestream/input_integration_test.go index 78f77a4fff47..ab9ed187bd73 100644 --- a/filebeat/input/filestream/input_integration_test.go +++ b/filebeat/input/filestream/input_integration_test.go @@ -889,6 +889,9 @@ func TestFilestreamTruncate(t *testing.T) { env.mustTruncateFile(testlogName, 0) env.waitUntilOffsetInRegistry(testlogName, 0) + // recreate symlink + env.mustSymlink(testlogName, symlinkName) + moreLines := []byte("forth line\nfifth line\n") env.mustWriteLinesToFile(testlogName, moreLines)