From 75b772580e7e5ff3f8493d8c9bee106feae815d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9mi=20V=C3=A1nyi?= Date: Tue, 14 Jul 2020 12:19:32 +0200 Subject: [PATCH] more fix --- filebeat/tests/system/test_input.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filebeat/tests/system/test_input.py b/filebeat/tests/system/test_input.py index b3b832c451ce..8aebe49f4d0a 100644 --- a/filebeat/tests/system/test_input.py +++ b/filebeat/tests/system/test_input.py @@ -719,7 +719,7 @@ def test_inode_marker_based_identity_tracking(self): File is picked up again if the contents of the marker file changes. """ - marker_location = self.working_dir + "/marker" + marker_location = os.path.join(self.working_dir, "marker") with open(marker_location, 'w') as m: m.write("very-unique-string") @@ -753,7 +753,7 @@ def test_inode_marker_based_identity_tracking_to_path_based(self): File reading can be continued after file_identity is changed. """ - marker_location = self.working_dir + "/marker" + marker_location = os.path.join(self.working_dir, "marker") with open(marker_location, 'w') as m: m.write("very-unique-string")