Browse code

TestVolumesFromHasPriority fix race

Docker-DCO-1.1-Signed-off-by: Jessie Frazelle <hugs@docker.com> (github: jfrazelle)

Jessica Frazelle authored on 2015/04/02 10:06:28
Showing 1 changed files
... ...
@@ -232,7 +232,7 @@ func TestContainerApiStartVolumesFrom(t *testing.T) {
232 232
 // This is pretty much the same as TestRunApplyVolumesFromBeforeVolumes, except with passing the VolumesFrom and the bind on start
233 233
 func TestVolumesFromHasPriority(t *testing.T) {
234 234
 	defer deleteAllContainers()
235
-	volName := "voltst"
235
+	volName := "voltst2"
236 236
 	volPath := "/tmp"
237 237
 
238 238
 	if out, _, err := runCommandWithOutput(exec.Command(dockerBinary, "run", "-d", "--name", volName, "-v", volPath, "busybox")); err != nil {