Add `t.Name()` to tests so that service names are unique
@@ -34,7 +34,7 @@ func TestInspectNetwork(t *testing.T) {
overlayID := netResp.ID
var instances uint64 = 4
- serviceName := "TestService"
+ serviceName := "TestService" + t.Name()
serviceID := swarm.CreateService(t, d,
swarm.ServiceWithReplicas(instances),
@@ -207,7 +207,7 @@ func TestServiceWithPredefinedNetwork(t *testing.T) {
hostName := "host"
var instances uint64 = 1