Skip to content

Exercise AirDrop and multi-peer AWDL end to end in hwsim - #141

Open
sneurlax wants to merge 2 commits into
t4t5:mainfrom
sneurlax:test/hwsim-extended-interop
Open

sneurlax wants to merge 2 commits into
t4t5:mainfrom
sneurlax:test/hwsim-extended-interop

Conversation

@sneurlax

Copy link
Copy Markdown

The existing hwsim test verifies Owly's radio modes and basic two-node connectivity. This extends the same isolated test environment to cover higher-level interoperability and longer-lived behavior.

The added scenarios exercise:

  • a complete AirDrop transfer over simulated AWDL, including peer discovery, mDNS, TLS, /Discover, /Ask, and /Upload;
  • three simultaneous AWDL radios, requiring every node to discover and ping both peers;
  • IPv6 all-nodes multicast over ff02::1%awdl0;
  • multicast with the unicast_groups per-peer fanout workaround;
  • an optional sustained soak that checks link state, peer retention, and periodic IPv6 connectivity.

The soak remains opt-in through OWLY_HWSIM_SOAK_SECS, so the normal CI run stays bounded. The added owly-airdrop and rustls dependencies are test-only.

Tests:

`just hwsim`

Optional soak:

`OWLY_HWSIM_SOAK_SECS=300 just hwsim`

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant