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
zorun a6e671db25
Fix AIX processor facts and add unit test (#78223)
- `processor_count` was erroneously set to the number of cores
- `processor_cores` was erroneously set to the number of threads per core
- `processor_vcpus` and `processor_threads_per_core` were not set
- `processor` was a string, while it's supposed to be a list

Before:

```
"ansible_processor": "PowerPC_POWER7",
"ansible_processor_cores": 4,
"ansible_processor_count": 12,
```

After:

```
"ansible_processor": [
    "PowerPC_POWER7"
],
"ansible_processor_cores": 12,
"ansible_processor_count": 1,
"ansible_processor_threads_per_core": 4,
"ansible_processor_vcpus": 48,
```

Also add a unit test.

Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2 years ago
..
ansible_test ansible-test - Move code from _data to _util. (#75495) 3 years ago
integration Fix module_utils_common.respawn test. (#78248) 2 years ago
lib/ansible_test validate-modules - allow raw module return type (#78231) 2 years ago
sanity Refactor ansible-test integration tests. (#78168) 2 years ago
support Remove incidental_inventory_foreman test. 2 years ago
units Fix AIX processor facts and add unit test (#78223) 2 years ago
utils/shippable Remove incidental_inventory_foreman test. 2 years ago