Commit e8bed7f
committed
Fix intermittent timeout in EventbusBridge testHookCreateSocketRejected
The TransportClient close handler can fire before the BridgeClient sets its
closeHandler callback via onSuccess, causing the close event to be silently
dropped. Track a pending close and replay it when the handler is set.
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>1 parent b42ef05 commit e8bed7f
1 file changed
Lines changed: 14 additions & 0 deletions
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1399 | 1399 | | |
1400 | 1400 | | |
1401 | 1401 | | |
| 1402 | + | |
1402 | 1403 | | |
1403 | 1404 | | |
1404 | 1405 | | |
| |||
1422 | 1423 | | |
1423 | 1424 | | |
1424 | 1425 | | |
| 1426 | + | |
| 1427 | + | |
1425 | 1428 | | |
1426 | 1429 | | |
1427 | 1430 | | |
| |||
1434 | 1437 | | |
1435 | 1438 | | |
1436 | 1439 | | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
1437 | 1444 | | |
1438 | 1445 | | |
1439 | 1446 | | |
| |||
1464 | 1471 | | |
1465 | 1472 | | |
1466 | 1473 | | |
| 1474 | + | |
1467 | 1475 | | |
1468 | 1476 | | |
1469 | 1477 | | |
| |||
1477 | 1485 | | |
1478 | 1486 | | |
1479 | 1487 | | |
| 1488 | + | |
| 1489 | + | |
1480 | 1490 | | |
1481 | 1491 | | |
1482 | 1492 | | |
| |||
1489 | 1499 | | |
1490 | 1500 | | |
1491 | 1501 | | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
1492 | 1506 | | |
1493 | 1507 | | |
1494 | 1508 | | |
| |||
0 commit comments