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

Side by Side Diff: milo/build_source/buildbucket/builder_test.go

Issue 2955223002: Milo: Buildbucket PubSub ingestion outline (Closed)
Patch Set: Created 3 years, 5 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
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 buildbucket 5 package buildbucket
6 6
7 import ( 7 import (
8 "encoding/json" 8 "encoding/json"
9 "flag" 9 "flag"
10 "fmt" 10 "fmt"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 So(string(actualJSON), ShouldEqual, stri ng(expectedJSON)) 67 So(string(actualJSON), ShouldEqual, stri ng(expectedJSON))
68 } 68 }
69 }) 69 })
70 } 70 }
71 }) 71 })
72 } 72 }
73 73
74 var bktConfig = ` 74 var bktConfig = `
75 buildbucket: { 75 buildbucket: {
76 host: "debug" 76 host: "debug"
77 project: "debug"
77 } 78 }
78 ` 79 `
79 80
80 var bktConfigFull = map[string]memcfg.ConfigSet{ 81 var bktConfigFull = map[string]memcfg.ConfigSet{
81 "services/luci-milo-dev": { 82 "services/luci-milo-dev": {
82 "settings.cfg": bktConfig, 83 "settings.cfg": bktConfig,
83 }, 84 },
84 } 85 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698