xiaodu55 3f2d8e8706
test: fix four Windows-host failures across skill review, personal MCP, and shelf tests (#6167)
- measure the link-scan benchmark with perf_counter: monotonic ticks at
  ~15.6 ms on Windows and the linear scan finishes inside one tick, so
  the ratio assertion divided by exactly 0.0;
- guard the owner-only mode assertion on Windows, where chmod cannot
  express 0o600 (same class as #5932);
- pin strictly increasing updated_at values in the shelf-ordering test:
  datetime.now(UTC) has ~15.6 ms granularity on Windows, so rapid inserts
  can share one timestamp and the id tiebreak reorders the entries.

Fixes #6166

Co-authored-by: xiaodu55 <xiaodu55@users.noreply.github.com>
2026-10-02 21:43:13 +08:00
..