Skip to content

Add TestFailingCompletionHandlerCrashesProcess Test#2309

Open
kythant wants to merge 2 commits intostaging/3.0from
user/kythant/TestFailingCompletionHandlerCrashesProcess
Open

Add TestFailingCompletionHandlerCrashesProcess Test#2309
kythant wants to merge 2 commits intostaging/3.0from
user/kythant/TestFailingCompletionHandlerCrashesProcess

Conversation

@kythant
Copy link

@kythant kythant commented Mar 2, 2026

No description provided.

await Task.Delay(TimeSpan.FromSeconds(5));

// If we get here, the process survived the throwing completion handler.
Assert.IsTrue(true, "Process survived the throwing native completion handler.");
Copy link
Member

Choose a reason for hiding this comment

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

So like, if this test passes it means that either:

  • The test is somehow wrong
  • Something else is wrong 😆

@manodasanW this code should (intentionally) crash the process, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants