Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python tests: compatibility and stability improvements #31588

Merged
merged 1 commit into from
May 12, 2022

Commits on May 12, 2022

  1. python tests: compatibility and stability improvements

    This commit improves the compatibility and stability of Python tests
    for Filebeat. It addresses two main probmes:
    1. Some deprecated TLS functions are now raising deprecation
    exceptions (since Python 3.10.0)
    2. Some tests, on failure, leave Filebeat running and bound to port
    8080, this creates a cascading failure of the subsequent tests that
    require the same port to be available.
    
    The main changes are:
     - Ensuring Filebeat process is always terminated, even if the test
     fails
     - Using the replacement methods/objects for the deprecated TLS
     functions.
    belimawr committed May 12, 2022
    Configuration menu
    Copy the full SHA
    4989ce0 View commit details
    Browse the repository at this point in the history