Skip to content

Commit

Permalink
Apply eval abort test fix for CLR 8.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
viewizard authored and gbalykov committed Sep 26, 2023
1 parent 3195f4f commit d1af532
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions test-suite/MITestVariables/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,10 @@ public int val2
{
get
{
// CoreCLR 7.0 have issue with abortable internal native code.
// CoreCLR 7.0 and 8.0 have issue with abortable internal native code.
// https://github.com/dotnet/runtime/issues/82422
if (System.Environment.Version.Major == 7)
if (System.Environment.Version.Major == 7 ||
System.Environment.Version.Major == 8)
{
while (true)
{
Expand Down
5 changes: 3 additions & 2 deletions test-suite/VSCodeTestVariables/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -554,9 +554,10 @@ public int val2
{
get
{
// CoreCLR 7.0 have issue with abortable internal native code.
// CoreCLR 7.0 and 8.0 have issue with abortable internal native code.
// https://github.com/dotnet/runtime/issues/82422
if (System.Environment.Version.Major == 7)
if (System.Environment.Version.Major == 7 ||
System.Environment.Version.Major == 8)
{
while (true)
{
Expand Down

0 comments on commit d1af532

Please sign in to comment.