mirror of https://github.com/helm/helm
TestRepeatableSave asserts fixed SHA values based on chart modtimes. If SOURCE_DATE_EPOCH is set in the CI environment, Save() now honors it and overrides those timestamps, producing different bytes and breaking the fixed-hash assertions. Guard against this by unsetting the env var for the duration of the test and restoring it via t.Cleanup. Signed-off-by: Kunal Jain <qlapon@gmail.com>pull/32060/head
parent
773b9d6c04
commit
a63566c6cd
Loading…
Reference in new issue