Skip to content

e2e: use subtests for qa multi-tunnel setup phases#3042

Open
packethog wants to merge 3 commits intomainfrom
ss/qa-multitunnel-subtests
Open

e2e: use subtests for qa multi-tunnel setup phases#3042
packethog wants to merge 3 commits intomainfrom
ss/qa-multitunnel-subtests

Conversation

@packethog
Copy link
Contributor

@packethog packethog commented Feb 18, 2026

Summary

  • Wrap each setup phase in TestQA_MultiTunnel (unicast connect, multicast setup, add multicast tunnel, verify IBRL healthy) in t.Run subtests for better test output granularity and easier debugging when a specific phase fails
  • Parallelize client connections in Phase 1 (unicast connect) and Phase 3 (add multicast tunnel) using errgroup instead of connecting sequentially
  • Add safety-net disconnect cleanup before Phase 1 to catch partially-connected clients if the test bails out early
  • Remove Phase 4 bail-out so validation subtests still run and provide diagnostic output even if IBRL check fails
  • Fix pre-existing ineffassign lint warning in qa_alldevices_unicast_test.go

Testing Verification

Wrap each setup phase (unicast connect, multicast setup, add multicast
tunnel, verify IBRL healthy) in t.Run subtests for better test output
granularity. Each phase bails out early via t.Failed() if a prior phase
fails. Also fix pre-existing ineffassign lint warning in
qa_alldevices_unicast_test.go.
- Add safety-net disconnect cleanup before Phase 1 to catch
  partially-connected clients if the test bails out early
- Strengthen shared-state comment to note sequential constraint
- Remove t.Failed() bail-out after Phase 4 so validation subtests
  still run and provide diagnostic output even if IBRL check fails
@packethog packethog self-assigned this Feb 18, 2026
@packethog packethog marked this pull request as ready for review February 18, 2026 21:25
@packethog packethog force-pushed the ss/qa-multitunnel-subtests branch from 9965482 to 9727731 Compare February 18, 2026 21:47
@packethog packethog force-pushed the ss/qa-multitunnel-subtests branch from f74b695 to 1c8f60c Compare February 18, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments