Skip to content

Commit

Permalink
Skip flaky test on unix input (elastic#20942)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano authored and melchiormoulin committed Oct 14, 2020
1 parent 14e5987 commit 9bff584
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 9bff584

Please sign in to comment.