From 78aac0c3c9b0e1a62e24097d12a454beb7d3c829 Mon Sep 17 00:00:00 2001 From: Steve Pfister Date: Wed, 10 Jul 2024 13:08:28 -0400 Subject: [PATCH 1/3] Set GCStressIncompatible on GenericContext tests As suggested in https://github.com/dotnet/runtime/issues/104633, this may help in reducing test timeouts. --- .../GenericContext/GenericContextCommonCs.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextCommonCs.csproj b/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextCommonCs.csproj index 88c0d86a674f4..3a2258e3eb601 100644 --- a/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextCommonCs.csproj +++ b/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextCommonCs.csproj @@ -1,6 +1,7 @@ Library + true From 290a73a149718af2c3f499229d03a6befcde07ae Mon Sep 17 00:00:00 2001 From: Steve Pfister Date: Wed, 10 Jul 2024 14:32:31 -0400 Subject: [PATCH 2/3] Update src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextCommonCs.csproj Co-authored-by: Vladimir Sadov --- .../GenericContext/GenericContextCommonCs.csproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextCommonCs.csproj b/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextCommonCs.csproj index 3a2258e3eb601..0877bf8bf39eb 100644 --- a/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextCommonCs.csproj +++ b/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextCommonCs.csproj @@ -1,6 +1,8 @@ Library + + true true From 04dfd471092f6237ff61c0b939959aad824a57ae Mon Sep 17 00:00:00 2001 From: vsadov <8218165+VSadov@users.noreply.github.com> Date: Mon, 29 Jul 2024 16:25:20 -0700 Subject: [PATCH 3/3] Put suppression on tests exe projects, not on the common library. --- .../GenericContext/GenericContextCommonCs.csproj | 3 --- .../GenericContextTest/GenericContextTest.ilproj | 3 ++- .../GenericContextTestDICallDI.ilproj | 3 ++- .../GenericContextTestDefaultImp.ilproj | 3 ++- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextCommonCs.csproj b/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextCommonCs.csproj index 0877bf8bf39eb..88c0d86a674f4 100644 --- a/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextCommonCs.csproj +++ b/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextCommonCs.csproj @@ -1,9 +1,6 @@ Library - - true - true diff --git a/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextTest/GenericContextTest.ilproj b/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextTest/GenericContextTest.ilproj index d184922c30934..9bc549cbbd666 100644 --- a/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextTest/GenericContextTest.ilproj +++ b/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextTest/GenericContextTest.ilproj @@ -1,7 +1,8 @@ - + true + true Full diff --git a/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextTestDICallDI/GenericContextTestDICallDI.ilproj b/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextTestDICallDI/GenericContextTestDICallDI.ilproj index e853b55138704..01b50592b37ea 100644 --- a/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextTestDICallDI/GenericContextTestDICallDI.ilproj +++ b/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextTestDICallDI/GenericContextTestDICallDI.ilproj @@ -1,7 +1,8 @@ - + true + true Full diff --git a/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextTestDefaultImp/GenericContextTestDefaultImp.ilproj b/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextTestDefaultImp/GenericContextTestDefaultImp.ilproj index 66417af3bdd23..16adf3955c4dd 100644 --- a/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextTestDefaultImp/GenericContextTestDefaultImp.ilproj +++ b/src/tests/Loader/classloader/StaticVirtualMethods/GenericContext/GenericContextTestDefaultImp/GenericContextTestDefaultImp.ilproj @@ -1,7 +1,8 @@ - + true + true Full