Skip to content
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

Modify the test case Runtime_40444.cs #40951

Merged
merged 3 commits into from
Aug 21, 2020
Merged

Conversation

briansull
Copy link
Contributor

@briansull briansull commented Aug 17, 2020

  1. Increase the maximum loop count for failure to 1000 million
  2. Added additional computation inside of loop
  3. Add addition message when the loop executes to the limit and the test case fails

Updated test case and insured that it fails on JITS without the fix
Test now checks it the other thread set t2_finished

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Aug 17, 2020
@briansull
Copy link
Contributor Author

Should fix #40885

@BruceForstall
Copy link
Member

Note that the test got disable with #40907, so will need to be re-enabled.

1) Increase the maximum loop count for failure to 1000 million
2) Added additional computation inside of loop
3) Add addition message when the loop executes to the limit and the test case fails

Updated test case and insured that it fails on JITS without the fix
Test now checks it the other thread set t2_finished
@briansull
Copy link
Contributor Author

@BruceForstall PTAL

@briansull
Copy link
Contributor Author

This changes updates only one test that I added recently and re-enables the test

@dotnet/jit-contrib PTAL

@briansull briansull merged commit ead6ddf into dotnet:master Aug 21, 2020
briansull added a commit to briansull/runtime that referenced this pull request Nov 18, 2020
* Modify the test case Runtime_40444.cs
1) Increase the maximum loop count for failure to 1000 million
2) Added additional computation inside of loop
3) Add addition message when the loop executes to the limit and the test case fails

Updated test case and insured that it fails on JITS without the fix
Test now checks it the other thread set t2_finished

* Re-enable the Runtime_40444 test

* Fix typos
briansull added a commit to briansull/runtime that referenced this pull request Nov 18, 2020
* Modify the test case Runtime_40444.cs
1) Increase the maximum loop count for failure to 1000 million
2) Added additional computation inside of loop
3) Add addition message when the loop executes to the limit and the test case fails

Updated test case and insured that it fails on JITS without the fix
Test now checks it the other thread set t2_finished
@briansull
Copy link
Contributor Author

/backport to release/5.0

@briansull
Copy link
Contributor Author

@BruceForstall Like the above?

@github-actions
Copy link
Contributor

Started backporting to release/5.0: https://github.com/dotnet/runtime/actions/runs/373087345

@github-actions
Copy link
Contributor

@briansull backporting to release/5.0 failed, the patch most likely resulted in conflicts:

$ git am --3way --ignore-whitespace --keep-non-patch changes.patch

Applying: Modify the test case Runtime_40444.cs 1) Increase the maximum loop count for failure to 1000 million 2) Added additional computation inside of loop 3) Add addition message when the loop executes to the limit and the test case fails
Applying: Re-enable the Runtime_40444 test
error: sha1 information is lacking or useless (src/coreclr/tests/issues.targets).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0002 Re-enable the Runtime_40444 test
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

briansull added a commit that referenced this pull request Dec 3, 2020
* Modify the test case Runtime_40444.cs
1) Increase the maximum loop count for failure to 1000 million
2) Added additional computation inside of loop
3) Add addition message when the loop executes to the limit and the test case fails

Updated test case and insured that it fails on JITS without the fix
Test now checks it the other thread set t2_finished

* Re-enable the Runtime_40444 test

* Fix typos
@ghost ghost locked as resolved and limited conversation to collaborators Dec 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants