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>
2025-04-17 17:56:01 -07:00
..
integration Disable retries on ansible-galaxy-collection (#85013) 2025-04-17 21:55:21 +00:00
lib/ansible_test Templating overhaul, implement Data Tagging (#84621) 2025-04-14 08:54:36 -07:00
sanity Templating overhaul, implement Data Tagging (#84621) 2025-04-14 08:54:36 -07:00
support Templating overhaul, implement Data Tagging (#84621) 2025-04-14 08:54:36 -07:00
units Fix test_range_templating on 32-bit architectures (#85007) 2025-04-17 17:56:01 -07:00