Skip to content

Commit

Permalink
fixed compilation error (#7158)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb authored Apr 12, 2024
1 parent 2057bae commit 167fbac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public async Task ActorSystem_default_scheduler_must_never_accept_more_work_afte
var receiver = sys.ActorOf(Props.Create(() => new MyScheduledActor()));
sys.Scheduler.ScheduleTellOnce(0, receiver, "set", ActorRefs.NoSender);
await Task.Delay(50); // let the scheduler run
var received = await receiver.Ask<bool>("get", TimeSpan.FromMilliseconds(TimeSpan.FromSeconds(3)));
var received = await receiver.Ask<bool>("get", TimeSpan.FromSeconds(3));
Assert.True(received);

var terminated = await sys.Terminate().AwaitWithTimeout(TimeSpan.FromSeconds(5));
Expand Down

0 comments on commit 167fbac

Please sign in to comment.