Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2020-01-15 21:45:34 +0300
committerGitHub <noreply@github.com>2020-01-15 21:45:34 +0300
commit7c9e2158925339a5a96ff8d09d21c600a0b27e5a (patch)
treec64f7b7b73547c82841aa3b46457799770d1102b
parent50c317c3a48b00dbd1b8e3f92318b138158ec642 (diff)
Disable two tests that allocate a lot of memory (#394)
HashTableTests.Ctor_Int_Int_GenerateNewPrime and BitConverterTests.ToString_ByteArrayTooLong_Throws Causes issues on Windows 32bit and other platforms.
-rw-r--r--src/System.Collections.NonGeneric/tests/HashtableTests.cs1
-rw-r--r--src/System.Runtime.Extensions/tests/System/BitConverter.cs1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/System.Collections.NonGeneric/tests/HashtableTests.cs b/src/System.Collections.NonGeneric/tests/HashtableTests.cs
index 13dff03ba3..8c6302a367 100644
--- a/src/System.Collections.NonGeneric/tests/HashtableTests.cs
+++ b/src/System.Collections.NonGeneric/tests/HashtableTests.cs
@@ -234,6 +234,7 @@ namespace System.Collections.Tests
}
[Fact]
+ [SkipOnTargetFramework(TargetFrameworkMonikers.Mono, "Flaky test - OOM")]
public void Ctor_Int_Int_GenerateNewPrime()
{
// The ctor for Hashtable performs the following calculation:
diff --git a/src/System.Runtime.Extensions/tests/System/BitConverter.cs b/src/System.Runtime.Extensions/tests/System/BitConverter.cs
index 55d20da4d1..eb453ad8b1 100644
--- a/src/System.Runtime.Extensions/tests/System/BitConverter.cs
+++ b/src/System.Runtime.Extensions/tests/System/BitConverter.cs
@@ -226,6 +226,7 @@ namespace System.Tests
}
[Fact]
+ [SkipOnTargetFramework(TargetFrameworkMonikers.Mono, "Flaky test - OOM")]
public static void ToString_ByteArrayTooLong_Throws()
{
byte[] arr;