Skip to content

Akka.Hosting.TestKit: AwaitAssertAsync only runs once #265

@Aaronontheweb

Description

@Aaronontheweb

Version Information
Version of Akka.NET? 1.5.0
Which Akka.NET Modules? Akka.Hosting.TestKit

Describe the bug

await AwaitAssertAsync(async () =>
{
    var r = await testActorRef.Ask<string>(new MyTestActor.GetData(), TimeSpan.FromMilliseconds(100));
    r.Should().Be("BackgroundService started");
}, RemainingOrDefault, TimeSpan.FromMilliseconds(150));

The above assertion runs once and then quits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testkitAkka.Hosting.TestKit fixes and issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions