Update test docstring to reflect switch to using SHA1

This commit is contained in:
Erik Johnson 2018-09-28 10:05:18 -05:00
parent 7ddfd720ed
commit 8a9945efd2
No known key found for this signature in database
GPG key ID: 5E5583C437808F3F

View file

@ -1431,10 +1431,9 @@ class StateModuleTest(ModuleCase, SaltReturnAssertsMixin):
parallel state cache were previously based on the tag for each chunk,
and longer ID decs or name params can cause the cache file to be longer
than the operating system's max file name length. To counter this we
instead base64-encode the chunk's tag (as this is a bit faster than
doing a sha256) and use up to the first 32 characters from that result
as the cache filename. This test will ensure that long tags don't cause
caching failures.
instead generate a SHA1 hash of the chunk's tag to use as the cache
filename. This test will ensure that long tags don't cause caching
failures.
See https://github.com/saltstack/salt/issues/49738 for more info.
'''