- Notifications
You must be signed in to change notification settings - Fork905
Commitc775ea8
authored
test: fix a race in TestReinit (#17902)
closescoder/internal#632`pubsubReinitSpy` used to signal that a subscription had happened beforeit actually had.This created a slight opportunity for the main goroutine to publishbefore the actual subscription was listening. The published event wasthen dropped, leading to a failed test.1 parent1a41608 commitc775ea8
1 file changed
+10
-9
lines changedLines changed: 10 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2650 | 2650 |
| |
2651 | 2651 |
| |
2652 | 2652 |
| |
2653 |
| - | |
2654 |
| - | |
| 2653 | + | |
| 2654 | + | |
2655 | 2655 |
| |
2656 | 2656 |
| |
2657 | 2657 |
| |
| |||
2664 | 2664 |
| |
2665 | 2665 |
| |
2666 | 2666 |
| |
2667 |
| - | |
| 2667 | + | |
2668 | 2668 |
| |
2669 |
| - | |
| 2669 | + | |
2670 | 2670 |
| |
2671 | 2671 |
| |
2672 | 2672 |
| |
| |||
2681 | 2681 |
| |
2682 | 2682 |
| |
2683 | 2683 |
| |
2684 |
| - | |
| 2684 | + | |
2685 | 2685 |
| |
2686 | 2686 |
| |
2687 | 2687 |
| |
| |||
2699 | 2699 |
| |
2700 | 2700 |
| |
2701 | 2701 |
| |
2702 |
| - | |
2703 |
| - | |
| 2702 | + | |
| 2703 | + | |
2704 | 2704 |
| |
2705 | 2705 |
| |
2706 | 2706 |
| |
| 2707 | + | |
2707 | 2708 |
| |
2708 | 2709 |
| |
2709 |
| - | |
| 2710 | + | |
2710 | 2711 |
| |
2711 | 2712 |
| |
2712 |
| - | |
| 2713 | + | |
2713 | 2714 |
|
0 commit comments
Comments
(0)