Skip to content

tests/workflow: split radio_silence_persistence into its own slot#1171

Open
eriknordmark wants to merge 1 commit into
lf-edge:masterfrom
eriknordmark:lps-loc-reorder-radio-silence
Open

tests/workflow: split radio_silence_persistence into its own slot#1171
eriknordmark wants to merge 1 commit into
lf-edge:masterfrom
eriknordmark:lps-loc-reorder-radio-silence

Conversation

@eriknordmark
Copy link
Copy Markdown
Contributor

Summary

The lps-loc scenario invokes eden.escript.test -test.run TestEdenScripts/radio_silence, which is a Go regex prefix match — it picks up both the radio_silence and radio_silence_persistence subtests at scenario slot 6/10. When radio_silence_persistence fails (e.g. NIM never settles RadioSilence.Imposed=true), the testscript runner's fail-fast policy aborts the whole suite and the remaining 4 lps_loc tests (app_local_info, dev_local_info, publish_location, network_local_changes) never run.

Split them:

  • Slot 6 now anchors with ^radio_silence$ and only runs the passing radio_silence subtest.
  • A new slot 11/11 at the end runs radio_silence_persistence; a failure there no longer blocks any other test.

Also fixes a label typo: slot 10's /bin/echo originally said "Eden location publish test" (same as slot 9). Renamed to "Eden network local changes test" to match the actual test invoked on that line.

Test plan

  • lps_loc suite reaches slots 7–10 even when radio_silence_persistence fails
  • radio_silence (the passing one) still runs at slot 6 as before
  • radio_silence_persistence runs and reports its actual outcome at slot 11

🤖 Generated with Claude Code

The lps_loc scenario invokes `eden.escript.test -test.run
TestEdenScripts/radio_silence`, which is a Go regex prefix match —
it picks up both the `radio_silence` and `radio_silence_persistence`
subtests at scenario slot 6/10. When `radio_silence_persistence`
fails (e.g. NIM never settles RadioSilence.Imposed=true), the
testscript runner's fail-fast policy aborts the whole suite and the
remaining 4 lps_loc tests (`app_local_info`, `dev_local_info`,
`publish_location`, `network_local_changes`) never run.

Split them:
- Slot 6 now anchors with `^radio_silence$` and only runs the
  passing radio_silence subtest.
- A new slot 11/11 at the end runs radio_silence_persistence; a
  failure there no longer blocks any other test.

Also fixes a label typo: slot 10's `/bin/echo` originally said
"Eden location publish test" (same as slot 9). Renamed to
"Eden network local changes test" to match the actual test.

Signed-off-by: eriknordmark <erik@zededa.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eriknordmark eriknordmark force-pushed the lps-loc-reorder-radio-silence branch from 465b24a to 8cac8f4 Compare May 15, 2026 09:17
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