Skip to content

add run specific test capability and CrashTestHostProcessorHelper #4744

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 30, 2020

Conversation

frank-dong-ms-zz
Copy link
Contributor

2 purpose for this PR:

  1. add capability of run specific test only on CI by:
    a. set innerLoop to false to certain configuration
    b. set runSpecific to true to certain configuration
    c. add [Trait("Category", "RunSpecificTests")] to the test methods wish to run
  2. add CrashTestHostProcessorHelper to crash process and take memory dump at any place

@@ -0,0 +1,14 @@
using System;
Copy link
Contributor

Choose a reason for hiding this comment

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

I know I had asked you to add this, but on second thoughts, it doesn't seem to add much. It is simply a rename over an existing function. Maybe we can delete this and just use Environment.FailFast directly wherever we would have called CrashTestHostProcessHelper.CrashTestHostProcess()
Maybe we should delete this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it is just one line function I'm okay with delete this.


In reply to: 373198033 [](ancestors = 373198033)

@frank-dong-ms-zz frank-dong-ms-zz merged commit ddacb24 into dotnet:master Jan 30, 2020
@frank-dong-ms-zz frank-dong-ms-zz deleted the run-specific-test branch February 3, 2020 21:35
@ghost ghost locked as resolved and limited conversation to collaborators Mar 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants