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>
This commit is contained in:
parent
0ee64127ae
commit
693b5c4298
|
@ -69,7 +69,7 @@ func (s *DockerSuite) TestInspectApiContainerVolumeDriverLegacy(c *check.C) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *DockerSuite) TestInspectApiContainerVolumeDriver(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)
|
cleanedContainerID := strings.TrimSpace(out)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue