mirror of
https://github.com/moby/moby.git
synced 2025-07-29 07:21:35 +03:00
Ignore no such container in testEnv.Clean
When moving the clean function there, this check was not ported and generated some errors on the CI. `deleteContainer` now fail if any error but the clean function won't if "no such container" (because of some races -_-). Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
@ -1261,7 +1261,7 @@ func (s *DockerSuite) TestPutContainerArchiveErrSymlinkInVolumeToReadOnlyRootfs(
|
||||
readOnly: true,
|
||||
volumes: defaultVolumes(testVol), // Our bind mount is at /vol2
|
||||
})
|
||||
defer deleteContainer(false, cID)
|
||||
defer deleteContainer(cID)
|
||||
|
||||
// Attempt to extract to a symlink in the volume which points to a
|
||||
// directory outside the volume. This should cause an error because the
|
||||
|
Reference in New Issue
Block a user