Merge pull request #12012 from jfrazelle/fix-race-volumes-from-api

TestVolumesFromHasPriority fix race
Upstream-commit: c88b2c422ff55099f8dae2a39566698c42b3d354
Component: engine
This commit is contained in:
Tibor Vass
2015-04-02 16:01:09 -04:00

View File

@ -232,7 +232,7 @@ func TestContainerApiStartVolumesFrom(t *testing.T) {
// This is pretty much the same as TestRunApplyVolumesFromBeforeVolumes, except with passing the VolumesFrom and the bind on start
func TestVolumesFromHasPriority(t *testing.T) {
defer deleteAllContainers()
volName := "voltst"
volName := "voltst2"
volPath := "/tmp"
if out, _, err := runCommandWithOutput(exec.Command(dockerBinary, "run", "-d", "--name", volName, "-v", volPath, "busybox")); err != nil {