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

Unified Diff: scripts/slave/recipes/chromium_trybot.py

Issue 1828573003: Add support for swarming priority and expiration in the test spec (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Addressed comments Created 4 years, 9 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
Index: scripts/slave/recipes/chromium_trybot.py
diff --git a/scripts/slave/recipes/chromium_trybot.py b/scripts/slave/recipes/chromium_trybot.py
index 2319be39611c6f3ad55a93d79b84f565cd083759..61b603b131645900d72c408252aa408692ef1c8b 100644
--- a/scripts/slave/recipes/chromium_trybot.py
+++ b/scripts/slave/recipes/chromium_trybot.py
@@ -414,6 +414,27 @@ def GenTests(api):
)
yield (
+ api.test('swarming_test_with_priority_and_expiration') +
+ props(extra_swarmed_tests=['gl_tests']) +
+ api.platform.name('linux') +
+ api.override_step_data('read test spec (2)', api.json.output({
+ 'Linux Tests': {
+ 'gtest_tests': [
+ {
+ 'test': 'gl_tests',
+ 'swarming': {
+ 'can_use_on_swarming_builders': True,
+ 'priority_adjustment': 'higher',
+ 'expiration': 7200,
+ },
+ },
+ ],
+ },
+ })) +
+ suppress_analyze()
+ )
+
+ yield (
api.test('swarming_trigger_failure') +
props() +
api.platform.name('linux') +

Powered by Google App Engine
This is Rietveld 408576698