Commit 1c99eaf
authored
test(server): reliably detect Start/Shutdown deadlock in SSEServer (#264)
This test demonstrates the deadlock described in
#254 and
#263 by running
`SSEServer.Start` then `SSEServer.Shutdown`. If it deadlocks, the test
fails quickly and reliably, rather than hanging indefinitely.
References:
- #254
- #255
- #2631 parent 6429019 commit 1c99eaf
1 file changed
+32
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1400 | 1400 | | |
1401 | 1401 | | |
1402 | 1402 | | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
1403 | 1435 | | |
1404 | 1436 | | |
1405 | 1437 | | |
| |||
0 commit comments