diff --git a/src/tests/tracing/eventlistener/EventListenerThreadPool.cs b/src/tests/tracing/eventlistener/EventListenerThreadPool.cs index afc514bcf3e7a..5313475d3bb9b 100644 --- a/src/tests/tracing/eventlistener/EventListenerThreadPool.cs +++ b/src/tests/tracing/eventlistener/EventListenerThreadPool.cs @@ -17,8 +17,8 @@ internal sealed class RuntimeEventListener : EventListener public volatile int TPIODequeue = 0; public int TPIOPackGoal = 0; - public int TPIOEnqueueGoal = 1; - public int TPIODequeueGoal = 1; + public int TPIOEnqueueGoal = 0; + public int TPIODequeueGoal = 0; public ManualResetEvent TPWaitWorkerThreadEvent = new ManualResetEvent(false); public ManualResetEvent TPWaitIOPackEvent = new ManualResetEvent(false); @@ -91,12 +91,13 @@ public static int TestEntryPoint() } } + /* // RegisterWaitForSingleObject should fire an IOEnqueue and IODequeue event ManualResetEvent manualResetEvent = new ManualResetEvent(false); WaitOrTimerCallback work = (x, timedOut) => { int y = (int)x; }; ThreadPool.RegisterWaitForSingleObject(manualResetEvent, work, 1, 100, true); manualResetEvent.Set(); - + */ ManualResetEvent[] waitEvents = new ManualResetEvent[] {listener.TPWaitIOPackEvent, listener.TPWaitIOEnqueueEvent, listener.TPWaitIODequeueEvent};