Signed-off-by: Zachary Jaffee <zij@case.edu>
| ... | ... |
@@ -4,6 +4,7 @@ import ( |
| 4 | 4 |
"net/http" |
| 5 | 5 |
"time" |
| 6 | 6 |
|
| 7 |
+ "github.com/docker/docker/pkg/integration/checker" |
|
| 7 | 8 |
"github.com/go-check/check" |
| 8 | 9 |
) |
| 9 | 10 |
|
| ... | ... |
@@ -21,8 +22,8 @@ func (s *DockerSuite) TestEventsApiEmptyOutput(c *check.C) {
|
| 21 | 21 |
|
| 22 | 22 |
select {
|
| 23 | 23 |
case r := <-chResp: |
| 24 |
- c.Assert(r.err, check.IsNil) |
|
| 25 |
- c.Assert(r.resp.StatusCode, check.Equals, http.StatusOK) |
|
| 24 |
+ c.Assert(r.err, checker.IsNil) |
|
| 25 |
+ c.Assert(r.resp.StatusCode, checker.Equals, http.StatusOK) |
|
| 26 | 26 |
case <-time.After(3 * time.Second): |
| 27 | 27 |
c.Fatal("timeout waiting for events api to respond, should have responded immediately")
|
| 28 | 28 |
} |