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

Unified Diff: milo/appengine/buildbucket/builder_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 | « no previous file | milo/appengine/buildbucket/expectations/master.tryserver.infra/InfraPresubmit.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/buildbucket/builder_test.go
diff --git a/milo/appengine/buildbucket/builder_test.go b/milo/appengine/buildbucket/builder_test.go
index 6dfaebb65346d834f54128fb0e905744f79315a0..44859502db385b8b58e61fe9fe83c76bde2a2b7a 100644
--- a/milo/appengine/buildbucket/builder_test.go
+++ b/milo/appengine/buildbucket/builder_test.go
@@ -12,7 +12,6 @@ import (
"os"
"path/filepath"
"testing"
- "time"
"github.com/luci/gae/impl/memory"
"github.com/luci/luci-go/common/clock/testclock"
@@ -36,7 +35,7 @@ func TestBuilder(t *testing.T) {
Convey("Builder", t, func() {
c := memory.UseWithAppID(context.Background(), "luci-milo-dev")
- c, _ = testclock.UseTime(c, time.Date(2016, time.March, 14, 11, 0, 0, 0, time.UTC))
+ c, _ = testclock.UseTime(c, testclock.TestRecentTimeUTC)
c = testconfig.WithCommonClient(c, memcfg.New(bktConfigFull))
// Update the service config so that the settings are loaded.
err := common.UpdateServiceConfig(c)
« no previous file with comments | « no previous file | milo/appengine/buildbucket/expectations/master.tryserver.infra/InfraPresubmit.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698