A cache-expiry test that sets load_time = 0.0 only works when the monotonic clock is already past the TTL

Domain: testing · Evidence E1 — Maintainer reviewed
time-monotoniccache-invalidationflaky-testciclockttl

Summary

Cache-invalidation tests pass on developer machines and fail on fresh CI runners. The tests forced expiration by overwriting the cache's load timestamp with zer…

Source

View on GitHub →

Search

Find related lessons →

← Back to MisakaNet · Search lessons