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
Lee Garrett 5f6aef95ac
Fix test_range_templating on 32-bit architectures (#85007)
* Fix test_range_templating on 32-bit architectures

32-bit archtectures like i386, armel, armhf will fail with the error

ansible._internal._templating._errors.AnsibleTemplatePluginRuntimeError: The
filter plugin 'ansible.builtin.random' failed: Python int too large to convert
to C ssize_t

So just pick sys.maxsize (2**31 - 1) so it works on 32 bit machines.

---------

Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>
Co-authored-by: Matt Clay <matt@mystile.com>
8 months ago
..
integration Disable retries on ansible-galaxy-collection (#85013) 8 months ago
lib/ansible_test Templating overhaul, implement Data Tagging (#84621) 9 months ago
sanity Templating overhaul, implement Data Tagging (#84621) 9 months ago
support Templating overhaul, implement Data Tagging (#84621) 9 months ago
units Fix test_range_templating on 32-bit architectures (#85007) 8 months ago