You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fefdb59
Browse filesBrowse the repository at this point in the historyBrowse files
e2e: replace timing waits with bounded synchronization (#1253)
## Stack
- Stacked on #1252; review this PR after or against that branch.
## What changed
- replace one-second connection polling and unbounded event/future waits
with bounded condition-based synchronization
- remove method subscription sleeps because receive-handler setters
synchronously wait for feature subscription
- signal Event Hub readiness after the first active receive cycle
instead of sleeping three seconds
- start each helper from its construction timestamp so later partitions
retain new events without replaying prior test traffic
- filter raw-string telemetry waits by expected payload so delayed
unrelated events cannot satisfy them
- guarantee service-helper shutdown if readiness fails before fixture
yield
- run the Event Hub receiver on a daemon-backed future so its 30-second
shutdown timeout cannot be bypassed
- bound twin matching/retry loops with absolute deadlines
- remove import-time iptables mutation; existing per-test setup restores
network state
- co-locate focused wait-helper and Event Hub lifecycle tests under the
IoT Hub E2E suite
## Validation
- Python 3.12 unit suite: 5437 passed, 6 skipped
- E2E infrastructure tests: 13 passed
- Black and Ruff passed
- all 132 IoT Hub E2E tests collected without cloud access
- previous natural build, Python E2E, DPS E2E, and Horton E2E gates
passed
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments