Commit 06a14c6
committed
[tests] fix race condition in SRP recovery reboot test
Resolve a pre-existing race condition in dind_srp_tc_11.exp:
- After the DUT reboots, the SRP server port changes.
- The test was checking 'srp client host state' immediately and
matching 'Registered' from the pre-reboot state, before the client
actually detected the port change and re-registered.
- Added a loop to wait for the client's registered server port to
match the new server port before checking the host state.1 parent 2871e36 commit 06a14c6
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
360 | 384 | | |
361 | 385 | | |
362 | 386 | | |
| |||
0 commit comments