Akka.TestKit: Watch
and Unwatch
are secretly asynchronous
#7064
Labels
Milestone
Watch
and Unwatch
are secretly asynchronous
#7064
Nasty, decade old bug in the TestKit -
Watch
andUnwatch
have always been secretly asynchronous, which is why tests like this one failed:Failed on
(await ExpectTerminatedAsync(c2)).ExistenceConfirmed.Should().BeTrue();
, which can only mean the actor was dead before theTestActor
had a chance to go through.Originally posted by @Aaronontheweb in #7037 (comment)
The text was updated successfully, but these errors were encountered: