ansible/test/units/module_utils
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
..
acme ACME: add support for IP identifiers (#53660) 2019-03-13 10:16:56 +01:00
aws
basic unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
cloud
common Move assertion in unit test inside loop (#60232) 2019-08-08 14:27:49 -05:00
docker docker_swarm_service: Add healthcheck option (#52419) 2019-02-18 09:46:14 +00:00
ec2 Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
facts facts: fix double-counting of CPUs on POWER systems (#58360) 2019-08-09 13:01:29 -04:00
gcp unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
hwc Unit tests: remove unused imports (#59740) 2019-07-29 22:10:13 +02:00
json_utils unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
net_tools unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
network Unit tests: remove unused imports (#59812) 2019-08-02 17:18:14 +02:00
parsing
postgresql Postgres module_utils: add get_connect_params + unit tests (#58067) 2019-06-19 06:49:19 -07:00
remote_management Adding dell ome device_info module (#53438) 2019-06-10 06:41:48 -04:00
urls Unit tests: remove unused imports (#59740) 2019-07-29 22:10:13 +02:00
xenserver Unit tests: remove unused imports (#59812) 2019-08-02 17:18:14 +02:00
__init__.py
conftest.py
test_database.py
test_distribution_version.py Get minor version number for CentOS and Debian (#57814) 2019-06-28 19:21:35 -04:00
test_distro.py Update distro unit test (#55003) 2019-04-08 16:26:31 -04:00
test_hetzner.py Hetzner failover IP: refactoring (#56203) 2019-05-10 08:33:51 +02:00
test_known_hosts.py unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
test_kubevirt.py kubevirt: more unit tests (#57739) 2019-06-25 20:06:13 +10:00
test_netapp.py Improved netapp module utility for E-Series. (#59527) 2019-08-01 13:24:38 -04:00
test_text.py
test_utm_utils.py Add optional headers to utm modules (#49856) 2019-01-17 19:06:50 +05:30
test_vmware.py VMware: add support for http_proxy in connection API 2019-08-01 15:57:26 +02:00