Skip to content

[bug] net10下周期发送偶发接收不足 #31

Description

@pkuyo

CanKit version / commit

latest

Adapter vendor

Other

Device model / endpoint(s)

Vector Fake backend vector://virtual/0

OS & version

GitHub Actions Windows Server 2025 Runner image

.NET SDK/runtime

.NET SDK 10.0.400

Reproduction steps

$env:CANKIT_TEST_ADAPTERS = "CanKit.Adapter.Vector"

dotnet restore CanKitAdapters.slnf

dotnet test CanKitAdapters.slnf -c Fake
-f net10.0 `
--logger "trx;LogFileName=TestResults-net10.0.trx"

Expected

周期发送成功完成 10 次,接收端应收到 10 个 ID 为 0x501 的报文。

调用 Stop() 后,不应继续收到超过容忍范围的同 ID 报文。

Actual behavior & logs

测试在等待 2 秒后只收到 5 个目标报文:

Expected received to be greater than or equal to 10, but found 5
(difference of -5).

Failed: 1
Passed: 86
Skipped: 0
Total: 87

Which sample(s) affected?

  • ListEndpoints
  • Sniffer
  • QuickStartTxRx

Notes / additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions