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

Side by Side Diff: milo/appengine/buildbot/build_test.go

Issue 2784073002: Milo: Fix naming of pubsub settings (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | milo/appengine/buildbot/pubsub.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The LUCI Authors. All rights reserved. 1 // Copyright 2016 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 package buildbot 5 package buildbot
6 6
7 import ( 7 import (
8 "encoding/json" 8 "encoding/json"
9 "flag" 9 "flag"
10 "fmt" 10 "fmt"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 }) 94 })
95 _, err := getBuild(c, "fake", "fake", 1) 95 _, err := getBuild(c, "fake", "fake", 1)
96 So(err, ShouldResemble, errNotAuth) 96 So(err, ShouldResemble, errNotAuth)
97 }) 97 })
98 }) 98 })
99 } 99 }
100 100
101 var internalConfig = ` 101 var internalConfig = `
102 buildbot: { 102 buildbot: {
103 internal_reader: "googlers" 103 internal_reader: "googlers"
104 » public_topic: "projects/luci-milo/subscriptions/buildbot-public" 104 » public_subscription: "projects/luci-milo/subscriptions/buildbot-public"
105 » internal_topic: "projects/luci-milo/subscriptions/buildbot-private" 105 » internal_subscription: "projects/luci-milo/subscriptions/buildbot-privat e"
106 } 106 }
107 ` 107 `
108 108
109 var bbAclConfigs = map[string]memcfg.ConfigSet{ 109 var bbAclConfigs = map[string]memcfg.ConfigSet{
110 "services/luci-milo": { 110 "services/luci-milo": {
111 "settings.cfg": internalConfig, 111 "settings.cfg": internalConfig,
112 }, 112 },
113 } 113 }
OLDNEW
« no previous file with comments | « no previous file | milo/appengine/buildbot/pubsub.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698