Skip to content

Commit

Permalink
Increase test startup delay
Browse files Browse the repository at this point in the history
Encountered transient failures during automated runs
Other tests in this suite use this delay value already.
  • Loading branch information
karolz-ms committed Feb 24, 2023
1 parent de2bbf0 commit 02e78a6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ public async Task ReportsClrEvents()

// Activation of the input causes creation of an ETW listening session in a separate Task.
// It takes a bit of time for the session to start capturing events.
// Use a small delay to minimize the chance that the following exception will be missed.
await Task.Delay(TimeSpan.FromMilliseconds(500));
// Use a delay to minimize the chance that the following exception will be missed.
await Task.Delay(TraceSessionActivationTimeout);

try
{
Expand Down

0 comments on commit 02e78a6

Please sign in to comment.