c8d/integation: Adjust error in TestPullLinuxImageFailsOnWindows
Message is different with containerd backend. The Linux test `TestPullLinuxImageFailsOnLinux` was adjusted before, but we missed this one. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
parent
4f9c865edd
commit
05695c2458
1 changed files with 7 additions and 1 deletions
|
@ -207,7 +207,13 @@ func (s *DockerHubPullSuite) TestPullClientDisconnect(c *testing.T) {
|
|||
func (s *DockerCLIPullSuite) TestPullLinuxImageFailsOnWindows(c *testing.T) {
|
||||
testRequires(c, DaemonIsWindows, Network)
|
||||
_, _, err := dockerCmdWithError("pull", "ubuntu")
|
||||
assert.ErrorContains(c, err, "no matching manifest for windows")
|
||||
|
||||
errorMessage := "no matching manifest for windows"
|
||||
if testEnv.UsingSnapshotter() {
|
||||
errorMessage = "no match for platform in manifest"
|
||||
}
|
||||
|
||||
assert.ErrorContains(c, err, errorMessage)
|
||||
}
|
||||
|
||||
// Regression test for https://github.com/docker/docker/issues/28892
|
||||
|
|
Loading…
Reference in a new issue