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

Fix issues with ansible-playbook-callbacks test #82407

Merged
merged 1 commit into from
Jan 17, 2024

Commits on Dec 13, 2023

  1. Fix issues with ansible-playbook-callbacks test

    The timing of the async tasks was a little unpredictable, meaning that
    sometimes we would get an unexpected number of v2_runner_on_async_poll
    callbacks, and fail the test. This change fixes the issue by increasing
    the poll interval to 2 seconds and the sleep duration to 3 seconds, such
    that on a reasonably responsive system we will poll twice per task, with
    the sleep ending in the middle of the two polls.
    
    The include_me.yml file does not exist in this integration test. It has
    been added.
    
    The remote_tmp_dir.path expression is invalid - the setup_remote_tmp_dir
    role uses set_fact to set remote_tmp_dir to remote_tmp_dir.path.
    
    The integration tests run with ANSIBLE_HOST_PATTERN_MISMATCH=error,
    meaning that the final play was never reached. Set
    ANSIBLE_HOST_PATTERN_MISMATCH=warning to continue past the play and
    trigger the v2_playbook_on_no_hosts_matched callback.
    markgoddard committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    9642495 View commit details
    Browse the repository at this point in the history