Skip to content

ExpectMsgFromAsync throws Format Excepion #7442

@biasc

Description

@biasc

Version Information
Version of Akka.NET?
Akka.TestKit 1.5.33

Describe the bug
The method:
public ValueTask ExpectMsgFromAsync(
Predicate isSender,
Predicate isMessage,
TimeSpan? timeout = null,
string hint = null,
CancellationToken cancellationToken = default)

always throws exception.

To Reproduce
Steps to reproduce the behavior:

  1. Download the project
  2. Run the unit test (the test Test_Receive_Response_From_Specific_Child throws exception)

Link to the test project:
https://github.com/biasc/Akka-Bug-Report2

Expected behavior
Unit test should pass

Environment
Windows 11, net8.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions