Skip to content

Commit

Permalink
Increase pipeline processing time in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
karolz-ms authored Nov 14, 2016
1 parent 86276a1 commit bae12ba
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public async Task UsableIfExceptionInGlobalFilterOccurs()
}

// Wait for the pipeline to drain.
await Task.Delay(TimeSpan.FromMilliseconds(100));
await Task.Delay(TimeSpan.FromMilliseconds(300));

// We should have got good events and warnings about bad events
Assert.Equal(TestBatchSize / 2, unitTestOutput.CallCount);
Expand Down Expand Up @@ -206,7 +206,7 @@ public async Task UsableIfExceptionInOutputSpecificFilterOccurs()
}

// Wait for the pipeline to drain.
await Task.Delay(TimeSpan.FromMilliseconds(100));
await Task.Delay(TimeSpan.FromMilliseconds(300));

// We should have got good events and warnings about bad events
Assert.Equal(TestEventCount / 2, unitTestOutput.EventCount);
Expand Down Expand Up @@ -339,7 +339,7 @@ public async Task UsableIfExceptionInOutputOccurs()
}

// Wait for the pipeline to drain.
await Task.Delay(TimeSpan.FromMilliseconds(100));
await Task.Delay(TimeSpan.FromMilliseconds(300));

// We should have at least TestEventCount / MaxEventBatchSize calls to the output
int expectedMinCallCount = TestEventCount / settings.MaxEventBatchSize;
Expand Down

0 comments on commit bae12ba

Please sign in to comment.