You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units
Yaakov Selkowitz 93d9d64038 facts: fix double-counting of CPUs on POWER systems (#58360)
On POWER systems, /proc/cpuinfo provides a 'processor' entry as a
counter, and a 'cpu' entry with a description (similar to 'model name'
on x86). Support for POWER in get_cpu_facts was added via the 'cpu'
entry in commit 8746e692c1.  Subsequent
support for ARM64 in commit ce4ada93f9
used the 'processor' entry, resulting in double-counting of cores on
POWER systems.

When unit tests were later written for this code in
commit 55306906cf, the erroneous values
were just accepted in the test instead of being diagnosed.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
7 years ago
..
cli Unit test cleanup. (#60315) 7 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago
config fixes to config manager (#58530) 7 years ago
contrib Fix vmware_inventory unit tests so they run. 7 years ago
errors Add better error when k=v syntax is used with YAML in tasks (#41754) 7 years ago
executor unit tests: remove unused imports (#59636) 7 years ago
galaxy Collection test (#59488) 7 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 11 years ago
mock Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago
module_utils facts: fix double-counting of CPUs on POWER systems (#58360) 7 years ago
modules Unit test cleanup. (#60315) 7 years ago
parsing Correct places where match was intended 7 years ago
playbook Unit tests: remove unused imports (#59812) 7 years ago
plugins Unit tests: remove unused imports (#59812) 7 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 7 years ago
template Unit tests: remove unused imports (#59812) 7 years ago
utils Unit test cleanup. (#60315) 7 years ago
vars Fix inventory cache interface (#50446) 7 years ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 9 years ago
test_context.py Unit tests: remove unused imports (#59740) 7 years ago