Repository navigation
Commit b44e035
e2e: allow serial DPS registrations to complete (#1261)
## Summary
- raise the DPS E2E suite timeout from 30 to 60 seconds
- give X.509 group enrollment tests a 120-second timeout for three
serial registrations
- apply the group override consistently to sync/async and
MQTT/MQTT-over-WebSockets cases
## Why
[DPS E2E build
163238](https://dev.azure.com/azure-iot-sdks/f9b79625-2860-4d92-a4ee-57b03fabfd10/_build/results?buildId=163238)
timed out in the async X.509 group enrollment MQTT-over-WebSockets case.
The suite-level 30-second pytest timeout covered the entire test even
though it performs three sequential network registrations.
The same outer timeout also matched the SDK registration stage's
30-second timeout, allowing pytest to interrupt single-registration
tests before the SDK could surface its more useful operation error.
A 60-second default preserves bounded hang detection while allowing SDK
errors to surface. The 120-second marker is limited to group tests that
make three serial registration attempts.
## Validation
- Python 3.10 collected all 24 DPS E2E cases
- verified 16 individual cases use the 60-second suite default
- verified all 8 sync/async X.509 group cases use the 120-second
override
- Black and Ruff passed
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a5d5590 commit b44e035
3 files changed
Lines changed: 17 additions & 3 deletions
File tree
- tests/e2e/provisioning_e2e
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
| |||
133 | 138 | | |
134 | 139 | | |
135 | 140 | | |
| 141 | + | |
136 | 142 | | |
137 | 143 | | |
138 | 144 | | |
| |||
196 | 202 | | |
197 | 203 | | |
198 | 204 | | |
| 205 | + | |
199 | 206 | | |
200 | 207 | | |
201 | 208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
132 | 137 | | |
133 | 138 | | |
134 | 139 | | |
| 140 | + | |
135 | 141 | | |
136 | 142 | | |
137 | 143 | | |
| |||
196 | 202 | | |
197 | 203 | | |
198 | 204 | | |
| 205 | + | |
199 | 206 | | |
200 | 207 | | |
201 | 208 | | |
| |||
0 commit comments