SetBinhost: Use new file for new post-submit builders
There is a fight between the legacy and new post-submit builders
when using the same files. Instead, have the new builders write
out to new files.
BUG=chromium:964242
TEST=run_tests
Change-Id: Iaca108cc5e24490885f4e52652b9c63b9ddf09b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/1621251
Tested-by: Alex Klein <saklein@chromium.org>
Commit-Queue: Evan Hernandez <evanhernandez@chromium.org>
Reviewed-by: Evan Hernandez <evanhernandez@chromium.org>
diff --git a/api/controller/binhost_unittest.py b/api/controller/binhost_unittest.py
index 0738e1b..1ae869d 100644
--- a/api/controller/binhost_unittest.py
+++ b/api/controller/binhost_unittest.py
@@ -66,8 +66,8 @@
self.assertEqual(output_proto.output_file, '/path/to/BINHOST.conf')
set_binhost.assert_called_once_with(
- 'target', 'POSTSUBMIT_BINHOST', 'gs://chromeos-prebuilt/target',
- private=True)
+ 'target', 'PARALLEL_POSTSUBMIT_BINHOST',
+ 'gs://chromeos-prebuilt/target', private=True)
class RegenBuildCacheTest(cros_test_lib.MockTestCase):
"""Unittests for RegenBuildCache."""