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

Side by Side Diff: milo/job_source/swarming/buildLog_test.go

Issue 2949783002: [milo] appengine/* -> * (Closed)
Patch Set: rebase 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 unified diff | Download patch
« no previous file with comments | « milo/job_source/swarming/buildLog.go ('k') | milo/job_source/swarming/build_test.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 package swarming 1 package swarming
2 2
3 import ( 3 import (
4 "context" 4 "context"
5 "strings" 5 "strings"
6 "testing" 6 "testing"
7 7
8 "github.com/luci/gae/impl/memory" 8 "github.com/luci/gae/impl/memory"
9 "github.com/luci/luci-go/common/clock/testclock" 9 "github.com/luci/luci-go/common/clock/testclock"
10 10
(...skipping 14 matching lines...) Expand all
25 c = memory.UseWithAppID(c, "dev~luci-milo") 25 c = memory.UseWithAppID(c, "dev~luci-milo")
26 Convey(`Build log tests`, t, func() { 26 Convey(`Build log tests`, t, func() {
27 _, _, err := swarmingBuildLogImpl(c, testSvc, "12340", "/update_ scripts/0/stdout") 27 _, _, err := swarmingBuildLogImpl(c, testSvc, "12340", "/update_ scripts/0/stdout")
28 So(err, ShouldBeNil) 28 So(err, ShouldBeNil)
29 }) 29 })
30 Convey(`List available streams`, t, func() { 30 Convey(`List available streams`, t, func() {
31 _, _, err := swarmingBuildLogImpl(c, testSvc, "12340", "/notexis t") 31 _, _, err := swarmingBuildLogImpl(c, testSvc, "12340", "/notexis t")
32 So(strings.HasPrefix(err.Error(), "stream \"steps/notexist\" not found"), ShouldEqual, true) 32 So(strings.HasPrefix(err.Error(), "stream \"steps/notexist\" not found"), ShouldEqual, true)
33 }) 33 })
34 } 34 }
OLDNEW
« no previous file with comments | « milo/job_source/swarming/buildLog.go ('k') | milo/job_source/swarming/build_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698