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

Unified Diff: appengine/findit/model/wf_config.py

Issue 2272953002: [Findit] Moving check flake parameters to config (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Updating swarming settings config example Created 4 years, 4 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 | « appengine/findit/handlers/test/config_test.py ('k') | appengine/findit/templates/config.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/model/wf_config.py
diff --git a/appengine/findit/model/wf_config.py b/appengine/findit/model/wf_config.py
index e27cb0548b5517800869448b457c1fa9fa8fd959..a4bf91e64e2f06d654a1e173f71c95bf7764e0b0 100644
--- a/appengine/findit/model/wf_config.py
+++ b/appengine/findit/model/wf_config.py
@@ -68,7 +68,9 @@ class FinditConfig(VersionedConfig):
# 'task_timeout_hours': 23,
# 'isolated_server': 'https://isolateserver.appspot.com',
# 'isolated_storage_url': 'isolateserver.storage.googleapis.com',
- # 'iterations_to_rerun': 10
+ # 'iterations_to_rerun': 10,
+ # 'get_swarming_task_id_timeout_seconds': 300,
+ # 'get_swarming_task_id_wait_seconds': 10
# }
swarming_settings = ndb.JsonProperty(indexed=False, default={})
@@ -86,3 +88,14 @@ class FinditConfig(VersionedConfig):
# 'cr_notification_latency_limit_minutes': 30,
# }
action_settings = ndb.JsonProperty(indexed=False, default={})
+
+ # A dict containing settings for identifying the regression range that
+ # introduces test flakiness. For example,
+ # {
+ # 'lower_flake_threshold': 0.02,
+ # 'upper_flake_threshold': 0.98,
+ # 'max_flake_in_a_row': 4,
+ # 'max_stable_in_a_row': 4,
+ # 'iterations_to_rerun': 100
+ # }
+ check_flake_settings = ndb.JsonProperty(indexed=False, default={})
« no previous file with comments | « appengine/findit/handlers/test/config_test.py ('k') | appengine/findit/templates/config.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698