1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Use unique names in integration/service/plugin_test.go

Signed-off-by: Justen Martin <jmart@the-coder.com>
This commit is contained in:
Justen Martin 2019-09-11 19:09:54 -05:00
parent 871994ce2a
commit 548623b758

View file

@ -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") name := "test-" + strings.ToLower(t.Name())
repo2 := path.Join(registry.DefaultURL, "swarm", "test:v2") repo := path.Join(registry.DefaultURL, "swarm", name+":v1")
name := "test" repo2 := path.Join(registry.DefaultURL, "swarm", name+":v2")
d := daemon.New(t) d := daemon.New(t)
d.StartWithBusybox(t) d.StartWithBusybox(t)