diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2016-01-17 17:14:11 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-01-17 17:25:28 +0100 |
commit | 06c7513dabb9ce24380787da3cc1ae274f873c94 (patch) | |
tree | f7eca88f95693e72de57039707b0a705b6e33a6c /tests | |
parent | 0e32220e64bab05b32c830675fcfc91c0a9235d3 (diff) | |
download | dotty-06c7513dabb9ce24380787da3cc1ae274f873c94.tar.gz dotty-06c7513dabb9ce24380787da3cc1ae274f873c94.tar.bz2 dotty-06c7513dabb9ce24380787da3cc1ae274f873c94.zip |
Stop crashes because we're out of memory by disabling t7880
All of our recent memory-related tests failures since
https://github.com/lampepfl/dotty/pull/1030 was merged seem to be caused
by t7880.scala. It tries to intentionally trigger an OutOfMemoryError,
however since we don't pass -Xmx to our run tests it's possible that
this we fill up the memory of our host before we reach the maximum heap
size of the JVM.
Ideally, we would specify a -Xmx for run tests (scalac uses 1 GB),
unfortunately in the version of partest we use this is tricky because we
need to set the system property "partest.java_opts". If we upgrade our
partest to the latest release, we can instead specify it by setting the
argument `javaOpts` of the constructor of `SuiteRunner`, see
https://github.com/scala/scala-partest/commit/7c4659e1f88b410109ad3c4e7f66ae7070c6e985
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pending/run/t7880.scala (renamed from tests/run/t7880.scala) | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/run/t7880.scala b/tests/pending/run/t7880.scala index 106047bc8..7e57a3421 100644 --- a/tests/run/t7880.scala +++ b/tests/pending/run/t7880.scala @@ -1,3 +1,4 @@ +// Do "git log" on this file to know why it's been moved to pending object Test extends dotty.runtime.LegacyApp { // This should terminate in one way or another, but it shouldn't loop forever. try { |