Skip to content

Commit

Permalink
akkadotnet#3786 - fixed Passivation_of_inactive_entities spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed May 21, 2019
1 parent 007ca6f commit d381628
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public void Passivation_of_inactive_entities_must_passivate_entities_when_they_h

// Make sure "1" hasn't seen a message in 3 seconds and passivates
var timeSinceOneSawAMessage = DateTime.Now.Ticks - timeOneSawMessage;
probe.ExpectNoMsg(TimeSpan.FromSeconds(3) - TimeSpan.FromTicks(timeSinceOneSawAMessage));
probe.ExpectNoMsg(TimeSpan.FromSeconds(3) - TimeSpan.FromTicks(timeSinceOneSawAMessage) - TimeSpan.FromMilliseconds(40));
probe.ExpectMsg("1 passivating");

// But it can be re-activated just fine
Expand Down

0 comments on commit d381628

Please sign in to comment.