Seeing some test-failures, which could be due to changes on Docker Hub
=== Failed
=== FAIL: github.com/docker/docker/integration-cli TestDockerCLIPushSuite/TestPushToCentralRegistryUnauthorized (51.08s)
docker_cli_push_test.go:229: assertion failed: strings.Contains(out, "Retrying") is true
=== FAIL: github.com/docker/docker/integration-cli TestDockerCLIPushSuite (101.49s)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -232,8 +232,8 @@ func (s *DockerCLIPushSuite) TestPushToCentralRegistryUnauthorized(c *testing.T) |
| 232 | 232 |
const imgRepo = "test/busybox" |
| 233 | 233 |
cli.DockerCmd(c, "tag", "busybox", imgRepo) |
| 234 | 234 |
out, _, err := dockerCmdWithError("push", imgRepo)
|
| 235 |
- assert.ErrorContains(c, err, "", out) |
|
| 236 |
- assert.Assert(c, !strings.Contains(out, "Retrying")) |
|
| 235 |
+ assert.Check(c, is.ErrorContains(err, ""), out) |
|
| 236 |
+ assert.Check(c, !strings.Contains(out, "Retrying"), out) |
|
| 237 | 237 |
} |
| 238 | 238 |
|
| 239 | 239 |
func getTestTokenService(status int, body string, retries int) *httptest.Server {
|