Fix Explicit Destination Integration Test (#19060)

fix explicit destination integration test
pull/19053/head^2
Eric Haberkorn 2023-10-04 12:52:12 -04:00 committed by GitHub
parent 1a9666c49d
commit 9656fd157f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,7 @@ package multiport
import (
"context"
"fmt"
pbauth "github.com/hashicorp/consul/proto-public/pbauth/v2beta1"
pbcatalog "github.com/hashicorp/consul/proto-public/pbcatalog/v2beta1"
pbmesh "github.com/hashicorp/consul/proto-public/pbmesh/v2beta1"
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
// response from the upstream.
func TestMultiportService_Explicit(t *testing.T) {
t.Skip()
t.Parallel()
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{
Name: "static-server-workload",
Type: pbcatalog.WorkloadType,