Skip to content

Get rid of hardcoded sleep in tracing/runtimeeventsource/nativeruntimeeventsource#72010

Merged
davmason merged 3 commits into
dotnet:mainfrom
davmason:tracing_test_timing
Jul 14, 2022
Merged

Get rid of hardcoded sleep in tracing/runtimeeventsource/nativeruntimeeventsource#72010
davmason merged 3 commits into
dotnet:mainfrom
davmason:tracing_test_timing

Conversation

@davmason

Copy link
Copy Markdown
Contributor

Fixes #71331

This test was failing because in some runs the event would take longer than 2 seconds to get all the way through the eventing pipeline.

Comment thread src/tests/tracing/runtimeeventsource/NativeRuntimeEventSourceTest.cs Outdated
Comment thread src/tests/tracing/runtimeeventsource/NativeRuntimeEventSourceTest.cs Outdated

@noahfalk noahfalk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo comments

Comment thread src/tests/tracing/runtimeeventsource/NativeRuntimeEventSourceTest.cs Outdated
@davmason
davmason force-pushed the tracing_test_timing branch from c7940dd to 4cc857c Compare July 13, 2022 21:59
@davmason

Copy link
Copy Markdown
Contributor Author

Fixes #70966

@davmason

Copy link
Copy Markdown
Contributor Author

This fixes #70966 (unsafe multithreaded hashset access) and #68690 (we would occasionally see no events at all in GCStress/JITStress) as well.

@davmason
davmason force-pushed the tracing_test_timing branch from 4cc857c to fe59e58 Compare July 14, 2022 04:51
@davmason
davmason merged commit 1a0c9ca into dotnet:main Jul 14, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Aug 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

5 participants