1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

test: Do not check error message from hub, it is not needed

Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit bbdd34c370)
This commit is contained in:
Tibor Vass 2016-03-23 14:11:44 -04:00
parent 1f8ea55c3d
commit 03238022c8

View file

@ -653,7 +653,6 @@ func (s *DockerSuite) TestPushToCentralRegistryUnauthorized(c *check.C) {
out, _, err := dockerCmdWithError("push", repoName)
c.Assert(err, check.NotNil, check.Commentf(out))
c.Assert(out, check.Not(checker.Contains), "Retrying")
c.Assert(out, checker.Contains, "unauthorized: authentication required")
}
func getTestTokenService(status int, body string) *httptest.Server {