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>
2019-08-09 13:01:29 -04:00
..
cli Unit test cleanup. (#60315) 2019-08-09 08:31:13 -07:00
compat
config fixes to config manager (#58530) 2019-07-17 10:39:30 -04:00
contrib
errors Add better error when k=v syntax is used with YAML in tasks (#41754) 2018-12-04 12:32:02 -05:00
executor unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
galaxy Collection test (#59488) 2019-07-24 12:38:32 +10:00
inventory_test_data/group_vars
mock
module_utils facts: fix double-counting of CPUs on POWER systems (#58360) 2019-08-09 13:01:29 -04:00
modules Unit test cleanup. (#60315) 2019-08-09 08:31:13 -07:00
parsing Correct places where match was intended 2019-07-18 17:10:58 -07:00
playbook Unit tests: remove unused imports (#59812) 2019-08-02 17:18:14 +02:00
plugins Unit tests: remove unused imports (#59812) 2019-08-02 17:18:14 +02:00
regex Add toggle to control invalid character substitution in group names (#52748) 2019-03-06 11:49:40 -05:00
template Unit tests: remove unused imports (#59812) 2019-08-02 17:18:14 +02:00
utils Unit test cleanup. (#60315) 2019-08-09 08:31:13 -07:00
vars Fix inventory cache interface (#50446) 2019-03-06 12:12:35 -06:00
__init__.py
test_constants.py
test_context.py Unit tests: remove unused imports (#59740) 2019-07-29 22:10:13 +02:00