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

Unified Diff: fuzzer/go/common/version_watcher.go

Issue 1668543004: Add AddressSanitizer to fuzzer analysis (Closed) Base URL: https://skia.googlesource.com/buildbot@remove-old-tests
Patch Set: add multi threaded delete Created 4 years, 10 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 | « fuzzer/go/common/storage.go ('k') | fuzzer/go/config/config.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fuzzer/go/common/version_watcher.go
diff --git a/fuzzer/go/common/version_watcher.go b/fuzzer/go/common/version_watcher.go
index 122275f5f4b891518c257741723a3e1820425ef4..d96f19b531db2bd904a231722df3a19f2ba25156 100644
--- a/fuzzer/go/common/version_watcher.go
+++ b/fuzzer/go/common/version_watcher.go
@@ -5,6 +5,7 @@ import (
"time"
"github.com/skia-dev/glog"
+ "go.skia.org/infra/fuzzer/go/config"
"go.skia.org/infra/go/vcsinfo"
"google.golang.org/cloud/storage"
)
@@ -78,6 +79,14 @@ func (vw *VersionWatcher) Start() {
vw.lastCurrentHash = current
}
+ if config.Common.ForceReanalysis {
+ if _, err := vw.onPendingChange(vw.lastCurrentHash); err != nil {
+ glog.Errorf("There was a problem during force analysis: %s", err)
+ }
+ config.Common.ForceReanalysis = false
jcgregorio 2016/02/05 20:37:19 Will this ever get turned back on?
kjlubick 2016/02/05 20:41:02 No. It's only set by the command flag.
+ return
+ }
+
pending, err := GetPendingSkiaVersionFromGCS(vw.storageClient)
if err != nil {
glog.Errorf("Failed getting pending Skia version from GCS. Going to try again: %s", err)
« no previous file with comments | « fuzzer/go/common/storage.go ('k') | fuzzer/go/config/config.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698