Skip to content

Commit

Permalink
Revert attempt to fix test via timings; looks like the CI build itsel…
Browse files Browse the repository at this point in the history
…f may be the problem.
  • Loading branch information
nblumhardt committed Nov 20, 2015
1 parent 3fa2415 commit faf573c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ public void WhenAnEventIsEnqueuedItIsWrittenToABatch_OnFlush()
[Fact]
public void WhenAnEventIsEnqueuedItIsWrittenToABatch_OnTimer()
{
var pbs = new InMemoryPeriodicBatchingSink(2, TinyWait, MicroWait);
var pbs = new InMemoryPeriodicBatchingSink(2, TinyWait, TimeSpan.Zero);
var evt = Some.InformationEvent();
pbs.Emit(evt);
Thread.Sleep(TinyWait + TinyWait + TinyWait);
Thread.Sleep(TinyWait + TinyWait);
pbs.Stop();
Assert.Equal(1, pbs.Batches.Count);
Assert.False(pbs.WasCalledAfterDisposal);
Expand Down

0 comments on commit faf573c

Please sign in to comment.