Skip to content

Commit

Permalink
Disable test for x86 (#75624)
Browse files Browse the repository at this point in the history
* Disable test for x86

* Another
  • Loading branch information
danmoseley authored Sep 15, 2022
1 parent 0d61bff commit fa42038
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ public static void ToString_InvalidFormat_ThrowsFormatException()
Assert.Throws<FormatException>(() => b.ToString("G000001000000000"));
}

[Fact]
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.Is64BitProcess))] // Requires a lot of memory
[OuterLoop("Takes a long time, allocates a lot of memory")]
public static void ToString_ValidLargeFormat()
{
Expand Down
3 changes: 1 addition & 2 deletions src/libraries/System.Runtime/tests/System/DoubleTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ public static void ToString_InvalidFormat_ThrowsFormatException()
Assert.Throws<FormatException>(() => d.ToString("E000001000000000"));
}

[Fact]
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.Is64BitProcess))] // Requires a lot of memory
[OuterLoop("Takes a long time, allocates a lot of memory")]
public static void ToString_ValidLargeFormat()
{
Expand All @@ -847,7 +847,6 @@ public static void ToString_ValidLargeFormat()
// Format precision limit is 999_999_999 (9 digits). Anything larger should throw.
d.ToString("E999999999"); // Should not throw
d.ToString("E00000999999999"); // Should not throw

}

[Theory]
Expand Down

0 comments on commit fa42038

Please sign in to comment.