Fixing TestInspectApiContainerVolumeDriver
Currently the TestInspectApiContainerVolumeDriver is testing the existence of a volume driver without specifing any volume driver. This commit fixes that. Signed-off-by: André Martins <aanm90@gmail.com> Upstream-commit: 693b5c429820785d572b8a32bf0818c909a2090f Component: engine
This commit is contained in:
@@ -69,7 +69,7 @@ func (s *DockerSuite) TestInspectApiContainerVolumeDriverLegacy(c *check.C) {
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestInspectApiContainerVolumeDriver(c *check.C) {
|
||||
out, _ := dockerCmd(c, "run", "-d", "busybox", "true")
|
||||
out, _ := dockerCmd(c, "run", "-d", "--volume-driver", "local", "busybox", "true")
|
||||
|
||||
cleanedContainerID := strings.TrimSpace(out)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user