From 8f180b00f212f80059bda2bf3a70302fdd5288d4 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Thu, 22 Oct 2020 23:21:27 +0200 Subject: [PATCH] Remove test that triggers an OutOfMemoryError This lead to timeouts on the Windows CI, and in any case this test has nothing to do here: it tests the library, not the compiler, so it should be a JUnit test in scala-library. --- tests/run/t7880.scala | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 tests/run/t7880.scala diff --git a/tests/run/t7880.scala b/tests/run/t7880.scala deleted file mode 100644 index 3004f0d99e2f..000000000000 --- a/tests/run/t7880.scala +++ /dev/null @@ -1,7 +0,0 @@ -object Test extends App { - // This should terminate in one way or another, but it shouldn't loop forever. - try { - val buffer = collection.mutable.ArrayBuffer.fill(Int.MaxValue / 2 + 1)(0) - buffer += 1 - } catch { case _: OutOfMemoryError => } -}