Skip to content

Commit

Permalink
tests: Ignore inventory files of inactive tests & benchmarks
Browse files Browse the repository at this point in the history
These targets are not used by any active tests, and the large numbers of hosts
multiply the size of the taskvars disctionary in memory to many (10s) MiB.

refs mitogen-hq#1058
  • Loading branch information
moreati committed Oct 6, 2024
1 parent de3c6dc commit 3504bea
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Unreleased
* :gh:issue:`1106` :mod:`ansible_mitogen`: Support for `ansible_ssh_password`
connection variable, and templated SSH connection password.
* :gh:issue:`1136` tests: Improve Ansible fail_msg formatting.
* :gh:issue:`1137` tests: Ignore inventory files of inactive tests & benchmarks


v0.3.11 (2024-10-30)
Expand Down
1 change: 1 addition & 0 deletions tests/ansible/ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ host_key_checking = False
[inventory]
any_unparsed_is_failed = true
host_pattern_mismatch = error
ignore_extensions = ~, .bak, .disabled

[callback_profile_tasks]
task_output_limit = 10
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3504bea

Please sign in to comment.