Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Unified Diff: appengine/swarming/handlers_bot_test.py

Issue 2402543002: Create a BotEvent when a bot is leased from Machine Provider (Closed)
Patch Set: Fix tests Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | appengine/swarming/server/bot_management.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/handlers_bot_test.py
diff --git a/appengine/swarming/handlers_bot_test.py b/appengine/swarming/handlers_bot_test.py
index 7f78261d1120d219e6db2291b559b23e836d8311..c76789dcf6aeb09965f74e7f47fc9d7acbddeed3 100755
--- a/appengine/swarming/handlers_bot_test.py
+++ b/appengine/swarming/handlers_bot_test.py
@@ -740,6 +740,8 @@ class BotApiTest(test_env_handlers.AppTestBase):
},
'event_type': unicode(e),
'external_ip': u'192.168.2.2',
+ 'lease_id': None,
+ 'lease_expiration_ts': None,
'message': u'for the best',
'quarantined': False,
'state': {
@@ -764,6 +766,8 @@ class BotApiTest(test_env_handlers.AppTestBase):
},
'event_type': u'bot_connected',
'external_ip': u'192.168.2.2',
+ 'lease_id': None,
+ 'lease_expiration_ts': None,
'message': None,
'quarantined': False,
'state': {
« no previous file with comments | « no previous file | appengine/swarming/server/bot_management.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698