The case where the datastore already exists was masked by @functools.lru_cache,
which persists for the lifetime of a test, causing the function not to be
actually called twice.
Resolves T4228#85714
Differential D7896
Fix crash when using datastore_get_or_add for an existing datastore vlorentz on May 25 2022, 3:26 PM. Authored by Tags None Subscribers None
Details
The case where the datastore already exists was masked by @functools.lru_cache, Resolves T4228#85714
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D7896 (id=28479)Rebasing onto 9ed0df0a5c... Current branch diff-target is up to date. Changes applied before testcommit 800b450834aba9342905c5e4dc63861089441835 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Wed May 25 15:25:59 2022 +0200 Fix crash when using datastore_get_or_add for an existing datastore The case where the datastore already exists was masked by @functools.lru_cache, which persists for the lifetime of a test, causing the function not to be actually called twice. See https://jenkins.softwareheritage.org/job/DSCRUB/job/tests-on-diff/38/ for more details. |