Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added FQDN reproduction for ActorPath.Parse #5084

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/core/Akka.Tests/Actor/ActorPathSpec.cs
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