| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |