From e9f1c5145f7286bc5cffea11c7a528f2bc86f4f4 Mon Sep 17 00:00:00 2001 From: Mat Schaffer Date: Tue, 22 Feb 2022 18:55:28 +0900 Subject: [PATCH] Switch skip to use `CI` (#30512) Fairly certain `BUILD_ID` is jenkins-specific. (cherry picked from commit ca4a87a1b66c2234763b13c3d6882b3d2718c379) --- auditbeat/tests/system/test_file_integrity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auditbeat/tests/system/test_file_integrity.py b/auditbeat/tests/system/test_file_integrity.py index 8b47f9b22e9..f8e7d9bfeb8 100644 --- a/auditbeat/tests/system/test_file_integrity.py +++ b/auditbeat/tests/system/test_file_integrity.py @@ -62,7 +62,7 @@ def wait_output(self, min_events): else: break - @unittest.skipIf(os.getenv("BUILD_ID") is not None and platform.system() == 'Darwin', + @unittest.skipIf(os.getenv("CI") is not None and platform.system() == 'Darwin', 'Flaky test: https://github.com/elastic/beats/issues/24678') def test_non_recursive(self): """