Skip to content

Commit

Permalink
added FQDN reproduction for ActorPath.Parse (#5084)
Browse files Browse the repository at this point in the history
reproduction for #5083
  • Loading branch information
Aaronontheweb authored Jun 9, 2021
1 parent cf34e37 commit 35b1bb5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/core/Akka.Tests/Actor/ActorPathSpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,17 @@ public void Supports_parsing_remote_paths()
parsed.ToString().ShouldBe(remote);
}

/// <summary>
/// Reproduction for https://github.com/akkadotnet/akka.net/issues/5083
/// </summary>
[Fact]
public void Supports_parsing_remote_FQDN_paths()
{
var remote = "akka://sys@host.domain.com:1234/some/ref";
var parsed = ActorPathParse(remote);
parsed.ToString().ShouldBe(remote);
}

[Fact]
public void Return_false_upon_malformed_path()
{
Expand Down

0 comments on commit 35b1bb5

Please sign in to comment.