Skip to content

Add --smoke-test mode for join+ACK verification#3

Open
lthiery wants to merge 1 commit intomainfrom
lk/smoke-test
Open

Add --smoke-test mode for join+ACK verification#3
lthiery wants to merge 1 commit intomainfrom
lk/smoke-test

Conversation

@lthiery
Copy link
Collaborator

@lthiery lthiery commented Mar 11, 2026

Summary

  • Adds --smoke-test <SECONDS> CLI flag: all configured devices must join and receive an ACK to a confirmed uplink within the timeout
  • Exits 0 on success, exits 1 on timeout (logging which devices didn't complete)
  • Works with both sync and async-radio paths
  • Cleans up unused import warnings across the codebase

Usage

# All devices must join + get ACK within 30 seconds virtual-lorawan-device --smoke-test 30 # Combine with --limit virtual-lorawan-device --smoke-test 60 --limit 5
Adds a --smoke-test <SECONDS> CLI flag that starts all configured devices, waits for each to join and receive an ACK to a confirmed uplink, then exits 0 on success or 1 on timeout. Also cleans up unused import warnings across both sync and async radio paths.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant