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

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

Issue 2760873003: Milo: Use luci-config for storing buildbot acls (Closed)
Patch Set: Fix tests Created 3 years, 9 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/buildbot/pubsub_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/buildbot/build_test.go
diff --git a/milo/appengine/buildbot/build_test.go b/milo/appengine/buildbot/build_test.go
index b5db334148d20599bc07f2119a21dbb3a17347c9..4cb85ac3282219a23b86c4c8feb1813aba5048da 100644
--- a/milo/appengine/buildbot/build_test.go
+++ b/milo/appengine/buildbot/build_test.go
@@ -45,7 +45,7 @@ func shouldMatchExpectationsFor(actualContents interface{}, expectedFilename ...
}
func TestBuild(t *testing.T) {
- c := memory.Use(context.Background())
+ c := memory.UseWithAppID(context.Background(), "dev~luci-milo")
c, _ = testclock.UseTime(c, testclock.TestTimeUTC)
if *generate {
@@ -99,12 +99,13 @@ func TestBuild(t *testing.T) {
}
var internalConfig = `
-name: "buildbot-internal"
-access: "group:googlers"
+buildbot: {
+ internal_reader: "googlers"
+}
`
var bbAclConfigs = map[string]memcfg.ConfigSet{
- "projects/chrome": {
- "project.cfg": internalConfig,
+ "services/luci-milo": {
+ "settings.cfg": internalConfig,
},
}
« no previous file with comments | « no previous file | milo/appengine/buildbot/pubsub_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698