Skip to content

Commit 35b1bb5

Browse files
added FQDN reproduction for ActorPath.Parse (#5084)
reproduction for #5083
1 parent cf34e37 commit 35b1bb5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/core/Akka.Tests/Actor/ActorPathSpec.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,17 @@ public void Supports_parsing_remote_paths()
8989
parsed.ToString().ShouldBe(remote);
9090
}
9191

92+
/// <summary>
93+
/// Reproduction for https://github.com/akkadotnet/akka.net/issues/5083
94+
/// </summary>
95+
[Fact]
96+
public void Supports_parsing_remote_FQDN_paths()
97+
{
98+
var remote = "akka://[email protected]:1234/some/ref";
99+
var parsed = ActorPathParse(remote);
100+
parsed.ToString().ShouldBe(remote);
101+
}
102+
92103
[Fact]
93104
public void Return_false_upon_malformed_path()
94105
{

0 commit comments

Comments
 (0)