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_unittest.py b/api/controller/test_unittest.py
index d018e50..ca3f3c2 100644
--- a/api/controller/test_unittest.py
+++ b/api/controller/test_unittest.py
@@ -502,7 +502,7 @@
'--autotest', 'suite',
'--ssh-port', '1234',
'--private-key', '/path/to/id_rsa',
- '--test_that-args=--whitelist-chrome-crashes',
+ '--test_that-args=--allow-chrome-crashes',
])
def testMissingBuildTarget(self):