Disable OutOfMemoryException test in HardwareEh test
authorwtgodbe <wigodbe@microsoft.com>
Mon, 21 Mar 2016 17:10:16 +0000 (10:10 -0700)
committerwtgodbe <wigodbe@microsoft.com>
Mon, 21 Mar 2016 18:46:25 +0000 (11:46 -0700)
tests/src/baseservices/exceptions/simple/HardwareEh.cs
tests/testsFailingOutsideWindows.txt

index 216c4697ccf22bab553461733a33cc336ff7bfe1..3d5cd9a2ad870a388711a7c45755bf24e7ca9a1e 100644 (file)
@@ -59,7 +59,7 @@ public class HardwareEh
                retVal = PosTest9() && retVal;
 // The current stack overflow behavior is to rip the process
 //             retVal = PosTest10() && retVal;
-               retVal = PosTest11() && retVal;
+//             retVal = PosTest11() && retVal;
                retVal = PosTest12() && retVal;
                retVal = PosTest13() && retVal;
                retVal = PosTest14() && retVal;
@@ -115,7 +115,7 @@ public class HardwareEh
        public bool PosTest8() { return ExceptionTest(8, "OverflowException (int64)", typeof(OverflowException), new TestDelegate(ILHelper.Int64Overflow) ); }
        public bool PosTest9() { return ExceptionTest(9, "OverflowException (int32)", typeof(OverflowException), new TestDelegate(ILHelper.Int32Overflow) ); }
 //     public bool PosTest10() { return ExceptionTest(10, "StackOverflow", typeof(StackOverflowException),  new TestDelegate( GobbleStack )); }
-       public bool PosTest11() { return ExceptionTest(11, "OutOfMemory", typeof(OutOfMemoryException),  
+/*     public bool PosTest11() { return ExceptionTest(11, "OutOfMemory", typeof(OutOfMemoryException),  
                                                                delegate()
                                                                {
                                     List<object> list;
@@ -125,7 +125,7 @@ public class HardwareEh
                                                                                // allocate memory (86 meg chunks)
                                                                                list.Add( new byte[8388608]);
                                                                        }
-                                                               } ); }
+                                                               } ); } */
        public bool PosTest12() { return ExceptionTest(12, "IndexOutOfRange (single dim [less than])", typeof(IndexOutOfRangeException),  
                                                                delegate()
                                                                {
index 43d7189fb93f5149ac18dfa81b500ca242dba530..039c7841f29323f420e5eadfb717234d8102836e 100644 (file)
@@ -1,4 +1,3 @@
-baseservices/exceptions/simple/HardwareEH/HardwareEH.sh
 baseservices/exceptions/unittests/EHPatternTests/EHPatternTests.sh
 baseservices/threading/paramthreadstart/ThreadStartString_1/ThreadStartString_1.sh
 CoreMangLib/cti/system/multicastdelegate/MulticastDelegateCtor/MulticastDelegateCtor.sh