From 7a9eb37b63b26e8926a84a28c7c32341c19d3b83 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Fri, 20 Mar 2020 19:48:30 -0700 Subject: [PATCH] Testing --- .../tests/System/Environment.SetEnvironmentVariable.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libraries/System.Runtime.Extensions/tests/System/Environment.SetEnvironmentVariable.cs b/src/libraries/System.Runtime.Extensions/tests/System/Environment.SetEnvironmentVariable.cs index 60eea2ccd11aa..47d80e010ebf7 100644 --- a/src/libraries/System.Runtime.Extensions/tests/System/Environment.SetEnvironmentVariable.cs +++ b/src/libraries/System.Runtime.Extensions/tests/System/Environment.SetEnvironmentVariable.cs @@ -122,6 +122,7 @@ public void EnvironmentVariableValueTooLarge_Throws() try { + System.Threading.Thread.Sleep(1000000000); // string slightly less than 2 GiB (1 GiB for x86) so the constructor doesn't fail var count = (Environment.Is64BitProcess ? 1024 * 1024 * 1024 : 512 * 1024 * 1024) - 64; longVal = new string('c', count);