Skip to content

Commit

Permalink
One some targets TimeSpan * int doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlia committed Dec 23, 2020
1 parent 1ab33aa commit 622931e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ public void Lifetime()
Assert.Equal(tx, _stagePolicy.Get(_chain, tx.Id, false));
Assert.Contains(tx, _stagePolicy.Iterate(_chain));

Thread.Sleep(timeBuffer * 2);
// On some targets TimeSpan * int does not exist:
Thread.Sleep(timeBuffer);
Thread.Sleep(timeBuffer);

Assert.False(_stagePolicy.HasStaged(_chain, tx.Id, true));
Assert.Null(_stagePolicy.Get(_chain, tx.Id, true));
Expand Down

0 comments on commit 622931e

Please sign in to comment.