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
Harm Geerts 9bd70045c9
Fix BaseFileCacheModule#keys to respect prefix (#72789)
* Fix BaseFileCacheModule#keys to respect prefix

Change:
- Previously BaseFileCacheModule#keys would return keys with the cache
  prefix. These keys are impossible to retrieve from the cache without
  removing the prefix or using the cache without a prefix.
  Now it removes the prefix from the key and only returns keys that
  share the same prefix as the cache.

Test Plan:
- New unit tests

* Add explicit BaseFileCacheModule#keys test

Test that files that do not match the cache prefix are ignored.
Test that the prefix is removed from the cache key.
3 years ago
..
ansible_test Relocate ansible-test self tests outside package. (#61255) 5 years ago
integration [ansible-test] Add Fedora 34, update Fedora 33 (#74506) 3 years ago
lib/ansible_test [ansible-test] Add Fedora 34, update Fedora 33 (#74506) 3 years ago
sanity Remove obsolete Shippable specific scripts. 3 years ago
support Overhaul ansible-test container management. 3 years ago
units Fix BaseFileCacheModule#keys to respect prefix (#72789) 3 years ago
utils/shippable Remove obsolete Shippable specific scripts. 3 years ago