Skip to content

Commit

Permalink
Skip flaky test on unix input (#20942) (#20955)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7b8cdfd)
  • Loading branch information
jsoriano authored Sep 3, 2020
1 parent 19a650f commit 6460e7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion filebeat/tests/system/test_unix.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
from filebeat import BaseTest
import os
import platform
import socket
import tempfile
import unittest
from filebeat import BaseTest

# AF_UNIX support in python isn't available until
# Python 3.9, see https://bugs.python.org/issue33408


@unittest.skipIf(not hasattr(socket, 'AF_UNIX'), "No Windows AF_UNIX support before Python 3.9")
@unittest.skipIf(platform.system() == 'Darwin', 'Flaky test: https://github.com/elastic/beats/issues/20941')
class Test(BaseTest):
"""
Test filebeat UNIX input
Expand Down

0 comments on commit 6460e7f

Please sign in to comment.