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

Unified Diff: appengine/findit/model/flake/master_flake_analysis.py

Issue 2243673002: [Findit] Added algorithm to analysis (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: gclient sync 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/model/base_analysis.py ('k') | appengine/findit/templates/flake/result.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/model/flake/master_flake_analysis.py
diff --git a/appengine/findit/model/flake/master_flake_analysis.py b/appengine/findit/model/flake/master_flake_analysis.py
index a5f5791658510335374307df3072210cc480b194..44908d85f038609ea462c4ae56f79ccaebb492ff 100644
--- a/appengine/findit/model/flake/master_flake_analysis.py
+++ b/appengine/findit/model/flake/master_flake_analysis.py
@@ -4,13 +4,14 @@
from google.appengine.ext import ndb
-from model import analysis_status
from model.base_build_model import BaseBuildModel
from model.base_analysis import BaseAnalysis
from model.flake.flake_swarming_task import FlakeSwarmingTask
+
class MasterFlakeAnalysis(BaseAnalysis, BaseBuildModel):
"""Represents an analysis of a flaky test in a Chromium Waterfall."""
+
@staticmethod
def CreateAnalysisId(master_name, builder_name,
build_number, step_name, test_name):
@@ -53,3 +54,4 @@ class MasterFlakeAnalysis(BaseAnalysis, BaseBuildModel):
success_rates = ndb.FloatProperty(indexed=False, repeated=True)
flake_swarming_tasks = ndb.KeyProperty(
kind='FlakeSwarmingTask', repeated=True)
+ suspected_flake_build_number = ndb.IntegerProperty()
« no previous file with comments | « appengine/findit/model/base_analysis.py ('k') | appengine/findit/templates/flake/result.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698