Merge pull request #21437 from tiborvass/fix-hub-test

test: Do not check error message from hub, it is not needed
This commit is contained in:
Arnaud Porterie 2016-03-23 12:24:16 -07:00
commit bc3b07e115

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 {