Commit dc3c3d0
fix(test): use relative cache expiry to avoid CI timing fluke
On freshly-started CI runners time.monotonic() can be < 300 s, so
setting _models_cache_ts = 0.0 left the cache appearing valid and the
second pipes() call returned early without clearing _icons_synced.
Subtract the full TTL + 1 from the stored timestamp instead so the
cache is guaranteed expired regardless of system uptime.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f05ab4a commit dc3c3d0
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2217 | 2217 | | |
2218 | 2218 | | |
2219 | 2219 | | |
2220 | | - | |
2221 | | - | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
| 2223 | + | |
2222 | 2224 | | |
2223 | 2225 | | |
2224 | 2226 | | |
| |||
0 commit comments