Commit 5607051
committed
tests: move lossy endpoint implementation to a separate class
Rather than adding test-specific behaviour to the base Endpoint object,
move the control-protocol-drop implementation to a new LossyEndpoint
object, internal to the retry_timeout test.
We may want to move this to mctpenv later, but it's only used by the one
test currently, and we don't have enough of an API definition to make
that common.
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>1 parent 2df7f51 commit 5607051
2 files changed
Lines changed: 18 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
330 | | - | |
331 | 329 | | |
332 | 330 | | |
333 | 331 | | |
| |||
370 | 368 | | |
371 | 369 | | |
372 | 370 | | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | 371 | | |
379 | 372 | | |
380 | 373 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1378 | 1378 | | |
1379 | 1379 | | |
1380 | 1380 | | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
1381 | 1397 | | |
1382 | 1398 | | |
1383 | 1399 | | |
| |||
1389 | 1405 | | |
1390 | 1406 | | |
1391 | 1407 | | |
1392 | | - | |
| 1408 | + | |
1393 | 1409 | | |
1394 | 1410 | | |
1395 | 1411 | | |
| |||
1401 | 1417 | | |
1402 | 1418 | | |
1403 | 1419 | | |
1404 | | - | |
1405 | 1420 | | |
1406 | 1421 | | |
1407 | 1422 | | |
| |||
0 commit comments