mirror of
https://github.com/moby/moby.git
synced 2025-07-29 07:21:35 +03:00
TestVolumesFromHasPriority fix race
Docker-DCO-1.1-Signed-off-by: Jessie Frazelle <hugs@docker.com> (github: jfrazelle)
This commit is contained in:
@ -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 {
|
||||||
|
Reference in New Issue
Block a user