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/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>
7 years ago
..
acme ACME: add support for IP identifiers (#53660) 7 years ago
aws Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago
basic unit tests: remove unused imports (#59636) 7 years ago
cloud Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago
common Move assertion in unit test inside loop (#60232) 7 years ago
docker docker_swarm_service: Add healthcheck option (#52419) 7 years ago
ec2 Update bare exceptions to specify Exception. 7 years ago
facts facts: fix double-counting of CPUs on POWER systems (#58360) 7 years ago
gcp unit tests: remove unused imports (#59636) 7 years ago
hwc Unit tests: remove unused imports (#59740) 7 years ago
json_utils unit tests: remove unused imports (#59636) 7 years ago
net_tools unit tests: remove unused imports (#59636) 7 years ago
network Unit tests: remove unused imports (#59812) 7 years ago
parsing Consolidate boolean/mk_boolean conversion functions into a single location 9 years ago
postgresql Postgres module_utils: add get_connect_params + unit tests (#58067) 7 years ago
remote_management Adding dell ome device_info module (#53438) 7 years ago
urls Unit tests: remove unused imports (#59740) 7 years ago
xenserver Unit tests: remove unused imports (#59812) 7 years ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
conftest.py Python 3.8 collections compatibility fixes. 7 years ago
test_database.py Fix unit test parametrize order on Python 3.5. 7 years ago
test_distribution_version.py Get minor version number for CentOS and Debian (#57814) 7 years ago
test_distro.py Update distro unit test (#55003) 7 years ago
test_hetzner.py Hetzner failover IP: refactoring (#56203) 7 years ago
test_known_hosts.py unit tests: remove unused imports (#59636) 7 years ago
test_kubevirt.py kubevirt: more unit tests (#57739) 7 years ago
test_netapp.py Improved netapp module utility for E-Series. (#59527) 7 years ago
test_text.py Porting tests to pytest (#33387) 8 years ago
test_utm_utils.py Add optional headers to utm modules (#49856) 7 years ago
test_vmware.py VMware: add support for http_proxy in connection API 7 years ago