Skip to content

Conversation

@BrennanConroy
Copy link
Member

@BrennanConroy BrennanConroy commented Oct 13, 2022

Recently the TraceIdentifierIsUnique test failed on CI, see a previous failure #21118.

Decided to take a look, noticed that we were using Parallel.For with an async action (which is basically async void). My hypothesis is that the Parallel.For actions could still be running while the test method completes and closes the server, resulting in errors on the background thread.

Ran the test 10000 times before: reproduced the failure
Ran the test 20000 times after: did not get any failures

@BrennanConroy BrennanConroy merged commit 4faa84c into main Oct 13, 2022
@BrennanConroy BrennanConroy deleted the brecon/parallel branch October 13, 2022 20:07
@ghost ghost added this to the 8.0-preview1 milestone Oct 13, 2022
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants