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

refactored integration/service/instead_test.go to ues unique resource names

Signed-off-by: Justen Martin <jmart@the-coder.com>
This commit is contained in:
Justen Martin 2019-10-27 18:42:47 -05:00
parent a09e6e323e
commit 36f6cc11a4
No known key found for this signature in database
GPG key ID: 91CB87258BCCC58C

View file

@ -27,7 +27,7 @@ func TestInspect(t *testing.T) {
var now = time.Now() var now = time.Now()
var instances uint64 = 2 var instances uint64 = 2
serviceSpec := fullSwarmServiceSpec("test-service-inspect", instances) serviceSpec := fullSwarmServiceSpec("test-service-inspect"+t.Name(), instances)
ctx := context.Background() ctx := context.Background()
resp, err := client.ServiceCreate(ctx, serviceSpec, types.ServiceCreateOptions{ resp, err := client.ServiceCreate(ctx, serviceSpec, types.ServiceCreateOptions{