Fix ThreadPool events validation test (#48588)
authorSung Yoon Whang <suwhang@microsoft.com>
Mon, 22 Feb 2021 17:28:45 +0000 (09:28 -0800)
committerGitHub <noreply@github.com>
Mon, 22 Feb 2021 17:28:45 +0000 (09:28 -0800)
* Fix ThreadPool events validation test

* space

src/tests/tracing/eventpipe/eventsvalidation/ThreadPool.cs

index 08c7f57..37a58ed 100644 (file)
@@ -48,6 +48,7 @@ namespace Tracing.Tests.GCFinalizers
                     return total;
                 });
             }
+            Task.WaitAll(tasks);
         };
 
         private static Func<EventPipeEventSource, Func<int>> _DoesTraceContainEvents = (source) =>