test_that: Rename whitelist-chrome-crashes
Per go/COIL, test_that's --whitelist-chrome-crashes param is being
renamed to --allow-chrome-crashes.
This CL updates the chromite code which uses that param.
Uploaded with --no-verify because repo upload was complaining about
irrelevant pytest issues (no attribute 'importorskip').
BUG=b:159917945
TEST=run_pytest
Cq-Depend: chromium:2385861
Change-Id: Ib70cafb4c79f79589a5557c024f2073634c042c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/2385864
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Greg Edelston <gredelston@google.com>
diff --git a/api/controller/test.py b/api/controller/test.py
index 87087da..dfe6045 100644
--- a/api/controller/test.py
+++ b/api/controller/test.py
@@ -208,7 +208,7 @@
# TODO(evanhernandez): Find a nice way to pass test_that-args through
# the build API. Or obviate them.
if test_harness == test_pb2.VmTestRequest.AUTOTEST:
- cmd.append('--test_that-args=--whitelist-chrome-crashes')
+ cmd.append('--test_that-args=--allow-chrome-crashes')
with osutils.TempDir(prefix='vm-test-results.') as results_dir:
cmd.extend(['--results-dir', results_dir])