test: Do not check error message from hub, it is not needed
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
parent
38227b96c0
commit
bbdd34c370
|
@ -653,7 +653,6 @@ func (s *DockerSuite) TestPushToCentralRegistryUnauthorized(c *check.C) {
|
||||||
out, _, err := dockerCmdWithError("push", repoName)
|
out, _, err := dockerCmdWithError("push", repoName)
|
||||||
c.Assert(err, check.NotNil, check.Commentf(out))
|
c.Assert(err, check.NotNil, check.Commentf(out))
|
||||||
c.Assert(out, check.Not(checker.Contains), "Retrying")
|
c.Assert(out, check.Not(checker.Contains), "Retrying")
|
||||||
c.Assert(out, checker.Contains, "unauthorized: authentication required")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func getTestTokenService(status int, body string) *httptest.Server {
|
func getTestTokenService(status int, body string) *httptest.Server {
|
||||||
|
|
Loading…
Reference in New Issue