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

Unified Diff: milo/appengine/swarming/build_test.go

Issue 2902323002: Milo: Swarming module test coverage (Closed)
Patch Set: Undo time change Created 3 years, 6 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 | « milo/appengine/swarming/buildLog_test.go ('k') | milo/appengine/swarming/buildinfo_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/swarming/build_test.go
diff --git a/milo/appengine/swarming/build_test.go b/milo/appengine/swarming/build_test.go
index 69ab6a9baa50cfd710457ac797f003ab0d920dcc..6ca347cc167e3cab032259295a7f1aa5885cce47 100644
--- a/milo/appengine/swarming/build_test.go
+++ b/milo/appengine/swarming/build_test.go
@@ -49,6 +49,7 @@ func TestBuild(t *testing.T) {
if *generate {
c := context.Background()
+ // This is one hour after the start timestamp in the sample test data.
c, _ = testclock.UseTime(c, time.Date(2016, time.March, 14, 11, 0, 0, 0, time.UTC))
c = memory.UseWithAppID(c, "dev~luci-milo")
c = testconfig.WithCommonClient(c, memcfg.New(aclConfgs))
@@ -84,6 +85,7 @@ func TestBuild(t *testing.T) {
Convey(`A test Environment`, t, func() {
c := context.Background()
+ // This is one hour after the start timestamp in the sample test data.
c, _ = testclock.UseTime(c, time.Date(2016, time.March, 14, 11, 0, 0, 0, time.UTC))
c = memory.UseWithAppID(c, "dev~luci-milo")
c = testconfig.WithCommonClient(c, memcfg.New(aclConfgs))
« no previous file with comments | « milo/appengine/swarming/buildLog_test.go ('k') | milo/appengine/swarming/buildinfo_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698