Skip to main content

Product documentation

Catalog cache isolation in tests

Test catalog isolation now prevents pollution of user cache.

Status
shipped
Area
policy
Published
Control impact
Fixes test isolation issue.

Tests were writing fixture catalog data to the real user cache at ~/.cache/syndicatecode/modelsdev-catalog.json, causing the live server to report only 1 provider instead of the full catalog.

Added ResetCatalogManager() to providersupport and applied XDG_CACHE_HOME isolation + manager reset/cleanup to all affected tests.

Sources & evidence

  • bead:SyndicateCode-8mf