Commit 38e29f9
committed
Fix race condition in the test case (for real this time).
Apparently, the thread can start waiting at a point where the server
isn't ready to receive messages, which caused it to block indefinitely
for some reason. Before we create any threads or set any events, do a
simple exchange with the server to ensure that it's in its message loop.
This took way too damn long to figure out.1 parent 6799b03 commit 38e29f9
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4628 | 4628 | | |
4629 | 4629 | | |
4630 | 4630 | | |
4631 | | - | |
| 4631 | + | |
4632 | 4632 | | |
4633 | 4633 | | |
4634 | 4634 | | |
4635 | | - | |
| 4635 | + | |
4636 | 4636 | | |
4637 | 4637 | | |
4638 | 4638 | | |
| |||
4641 | 4641 | | |
4642 | 4642 | | |
4643 | 4643 | | |
4644 | | - | |
| 4644 | + | |
| 4645 | + | |
| 4646 | + | |
| 4647 | + | |
4645 | 4648 | | |
4646 | 4649 | | |
4647 | 4650 | | |
4648 | 4651 | | |
4649 | 4652 | | |
4650 | | - | |
4651 | | - | |
4652 | | - | |
4653 | | - | |
| 4653 | + | |
4654 | 4654 | | |
4655 | 4655 | | |
4656 | 4656 | | |
| |||
0 commit comments