Disable max OOM test for youtube until flakiness has been resolved
Bug: 143431825
Change-Id: I1b9f4e6eeb05db05b32235646abe55f6b0b6bee7
diff --git a/tools/internal_test.py b/tools/internal_test.py
index 9d4bc2b..182ccf8 100755
--- a/tools/internal_test.py
+++ b/tools/internal_test.py
@@ -79,6 +79,9 @@
'find-xmx-max': 1200,
'find-xmx-range': 32,
'oom-threshold': 1037,
+ # TODO(b/143431825): Youtube can OOM randomly in memory configurations
+ # that should work.
+ 'skip-find-xmx-max': True,
},
{
'app': 'iosched',
@@ -108,7 +111,7 @@
'--find-min-xmx-archive']
def compile_with_memory_max_command(record):
- return [
+ return [] if 'skip-find-xmx-max' in record else [
'tools/run_on_app.py',
'--compiler=r8',
'--compiler-build=lib',
@@ -144,7 +147,6 @@
+ map(compile_with_memory_max_command, BENCHMARK_APPS)
+ map(compile_with_memory_min_command, BENCHMARK_APPS))
-
# Command timeout, in seconds.
RUN_TIMEOUT = 3600 * 6
BOT_RUN_TIMEOUT = RUN_TIMEOUT * len(TEST_COMMANDS)
@@ -349,6 +351,9 @@
print 'stdout: %s' % f.read()
def execute(cmd, archive, env=None):
+ if cmd == []:
+ return
+
utils.PrintCmd(cmd)
with utils.TempDir() as temp:
try: