| Index: appengine/swarming/swarming_bot/bot_code/bot_main_test.py
|
| diff --git a/appengine/swarming/swarming_bot/bot_code/bot_main_test.py b/appengine/swarming/swarming_bot/bot_code/bot_main_test.py
|
| index cbaa5d6dcb5c347242a3319300c666d3b51a9abb..f38909679ae367466cc9575bb103c5f75aa79049 100755
|
| --- a/appengine/swarming/swarming_bot/bot_code/bot_main_test.py
|
| +++ b/appengine/swarming/swarming_bot/bot_code/bot_main_test.py
|
| @@ -754,7 +754,8 @@ class TestBotMain(TestBotBase):
|
| expected_auth_params_json={
|
| 'swarming_http_headers': {'A': 'a'},
|
| 'swarming_http_headers_exp': int(time.time() + 3600),
|
| - 'task_service_account': 'bot', # as in task manifest
|
| + 'system_service_account': 'robot@example.com', # as in task manifest
|
| + 'task_service_account': 'bot',
|
| })
|
|
|
| manifest = {
|
| @@ -763,7 +764,10 @@ class TestBotMain(TestBotBase):
|
| 'grace_period': 30,
|
| 'hard_timeout': 60,
|
| 'host': 'https://localhost:3',
|
| - 'service_account': 'bot',
|
| + 'service_accounts': {
|
| + 'system': {'service_account': 'robot@example.com'},
|
| + 'task': {'service_account': 'bot'},
|
| + },
|
| 'task_id': '24',
|
| }
|
| self.assertEqual(self.root_dir, self.bot.base_dir)
|
|
|