Skip to content

e2e: tighten smoke-test assertions (exact served-bytes, channel_id membership) #1063

Closed

Description

@yigitdot

Surfaced by the multi-agent review of #1053 (#1028).

crates/e2e/tests/smoke.rs currently asserts on-chain served-bytes > 0 and that the daemon's admin channels() set is non-empty. Both are known exactly:

  • served-bytes: 2 MiB payload @ 10 µUSDC/MiB is a known ~2 MiB count — assert the exact value to catch accounting drift.
  • channels: assert the reported set actually contains outcome.channel_id (and the right counterparty/deposit), turning 'some channel exists' into 'the channel we paid through is reported'.

Cheap hardening of an already-green test. Deferred from #1053.

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

Metadata

Metadata

Assignees

Labels

prio:low

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions