ansible/test
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
..
cache
integration Lun mapping upstream dev (#57096) 2019-08-09 08:25:38 -04:00
legacy
lib/ansible_test Code cleanup in ansible-test. (#60318) 2019-08-09 09:38:19 -07:00
results
sanity Unit test cleanup. (#60315) 2019-08-09 08:31:13 -07:00
units facts: fix double-counting of CPUs on POWER systems (#58360) 2019-08-09 13:01:29 -04:00
utils Remove Python 2.6 from Windows tests (#60235) 2019-08-08 07:32:09 +10:00