Commit 6f08459
authored
fix: use TestProbe instead of TestActor in ClusterShardingDistributedDataSpecs to avoid stale dead ref on Windows (#747)
On Windows CI, TestActor can survive EnsureTestActorAliveAsync's liveness
check but then die in the narrow window before the test body runs, leaving
TestActor as a dead ActorRef. All Identify replies then land in dead letters
and ExpectMsgAsync times out every retry. A TestProbe created in the test
body is unaffected by the startup race since it is created post-startup.1 parent ab5c80d commit 6f08459
1 file changed
Lines changed: 6 additions & 3 deletions
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | | - | |
55 | | - | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| |||
0 commit comments