Skip to content

tests: no unit tests for PeerTable.insert_or_refresh concurrent-update semantics or for the interaction between evict_expired and a simultaneously refreshed entry #307

Closed

Description

@alpergundogdu

The peer table has tests for basic insert/refresh/evict paths but none that verify the boundary where an entry is refreshed at exactly the cutoff timestamp, nor any test covering the saturating_sub behaviour when now_us is less than ttl_us.


Filed via GitDailyReporterBot

Activity

  1. added
    kind:test
    on Apr 27, 2026
  2. self-assigned this
    on Apr 30, 2026
  3. added a commit that references this issue on Apr 30, 2026
    b916c7e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind:test

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions