mirror of https://github.com/hashicorp/consul
Fix Explicit Destination Integration Test (#19060)
fix explicit destination integration testpull/19053/head^2
parent
1a9666c49d
commit
9656fd157f
|
@ -6,6 +6,7 @@ package multiport
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
pbauth "github.com/hashicorp/consul/proto-public/pbauth/v2beta1"
|
||||||
pbcatalog "github.com/hashicorp/consul/proto-public/pbcatalog/v2beta1"
|
pbcatalog "github.com/hashicorp/consul/proto-public/pbcatalog/v2beta1"
|
||||||
pbmesh "github.com/hashicorp/consul/proto-public/pbmesh/v2beta1"
|
pbmesh "github.com/hashicorp/consul/proto-public/pbmesh/v2beta1"
|
||||||
libassert "github.com/hashicorp/consul/test/integration/consul-container/libs/assert"
|
libassert "github.com/hashicorp/consul/test/integration/consul-container/libs/assert"
|
||||||
|
@ -30,7 +31,6 @@ import (
|
||||||
// - Make sure a request from static-client to the virtual address (<svc>.virtual.consul) returns a
|
// - Make sure a request from static-client to the virtual address (<svc>.virtual.consul) returns a
|
||||||
// response from the upstream.
|
// response from the upstream.
|
||||||
func TestMultiportService_Explicit(t *testing.T) {
|
func TestMultiportService_Explicit(t *testing.T) {
|
||||||
t.Skip()
|
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
cluster := createCluster(t)
|
cluster := createCluster(t)
|
||||||
|
@ -120,6 +120,11 @@ func createServerServicesAndWorkloads(t *testing.T, resourceClient *rtest.Client
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rtest.ResourceID(&pbresource.ID{
|
||||||
|
Name: "static-server-identity",
|
||||||
|
Type: pbauth.WorkloadIdentityType,
|
||||||
|
}).Write(t, resourceClient)
|
||||||
|
|
||||||
rtest.ResourceID(&pbresource.ID{
|
rtest.ResourceID(&pbresource.ID{
|
||||||
Name: "static-server-workload",
|
Name: "static-server-workload",
|
||||||
Type: pbcatalog.WorkloadType,
|
Type: pbcatalog.WorkloadType,
|
||||||
|
|
Loading…
Reference in New Issue