TestVolumesFromHasPriority fix race
Docker-DCO-1.1-Signed-off-by: Jessie Frazelle <hugs@docker.com> (github: jfrazelle)
This commit is contained in:
parent
b9be50b578
commit
c447fd339a
|
@ -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
|
// This is pretty much the same as TestRunApplyVolumesFromBeforeVolumes, except with passing the VolumesFrom and the bind on start
|
||||||
func TestVolumesFromHasPriority(t *testing.T) {
|
func TestVolumesFromHasPriority(t *testing.T) {
|
||||||
defer deleteAllContainers()
|
defer deleteAllContainers()
|
||||||
volName := "voltst"
|
volName := "voltst2"
|
||||||
volPath := "/tmp"
|
volPath := "/tmp"
|
||||||
|
|
||||||
if out, _, err := runCommandWithOutput(exec.Command(dockerBinary, "run", "-d", "--name", volName, "-v", volPath, "busybox")); err != nil {
|
if out, _, err := runCommandWithOutput(exec.Command(dockerBinary, "run", "-d", "--name", volName, "-v", volPath, "busybox")); err != nil {
|
||||||
|
|
Loading…
Reference in New Issue