瀏覽代碼

Use unique names in integration/service/plugin_test.go

Signed-off-by: Justen Martin <jmart@the-coder.com>
Justen Martin 5 年之前
父節點
當前提交
548623b758
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      integration/service/plugin_test.go

+ 3 - 3
integration/service/plugin_test.go

@@ -31,9 +31,9 @@ func TestServicePlugin(t *testing.T) {
 	reg := registry.NewV2(t)
 	reg := registry.NewV2(t)
 	defer reg.Close()
 	defer reg.Close()
 
 
-	repo := path.Join(registry.DefaultURL, "swarm", "test:v1")
-	repo2 := path.Join(registry.DefaultURL, "swarm", "test:v2")
-	name := "test"
+	name := "test-" + strings.ToLower(t.Name())
+	repo := path.Join(registry.DefaultURL, "swarm", name+":v1")
+	repo2 := path.Join(registry.DefaultURL, "swarm", name+":v2")
 
 
 	d := daemon.New(t)
 	d := daemon.New(t)
 	d.StartWithBusybox(t)
 	d.StartWithBusybox(t)