|
|
@ -36,7 +36,6 @@ import (
|
|
|
|
tokenStore "github.com/hashicorp/consul/agent/token"
|
|
|
|
tokenStore "github.com/hashicorp/consul/agent/token"
|
|
|
|
"github.com/hashicorp/consul/agent/xds/proxysupport"
|
|
|
|
"github.com/hashicorp/consul/agent/xds/proxysupport"
|
|
|
|
"github.com/hashicorp/consul/api"
|
|
|
|
"github.com/hashicorp/consul/api"
|
|
|
|
"github.com/hashicorp/consul/lib"
|
|
|
|
|
|
|
|
"github.com/hashicorp/consul/sdk/testutil"
|
|
|
|
"github.com/hashicorp/consul/sdk/testutil"
|
|
|
|
"github.com/hashicorp/consul/sdk/testutil/retry"
|
|
|
|
"github.com/hashicorp/consul/sdk/testutil/retry"
|
|
|
|
"github.com/hashicorp/consul/testrpc"
|
|
|
|
"github.com/hashicorp/consul/testrpc"
|
|
|
@ -6138,13 +6137,6 @@ func requireLeafValidUnderCA(t *testing.T, issued *structs.IssuedCert, ca *struc
|
|
|
|
require.NoError(t, err)
|
|
|
|
require.NoError(t, err)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func makeTelemetryDefaults(targetID string) lib.TelemetryConfig {
|
|
|
|
|
|
|
|
return lib.TelemetryConfig{
|
|
|
|
|
|
|
|
FilterDefault: true,
|
|
|
|
|
|
|
|
MetricsPrefix: "consul.proxy." + targetID,
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func TestAgentConnectAuthorize_badBody(t *testing.T) {
|
|
|
|
func TestAgentConnectAuthorize_badBody(t *testing.T) {
|
|
|
|
if testing.Short() {
|
|
|
|
if testing.Short() {
|
|
|
|
t.Skip("too slow for testing.Short")
|
|
|
|
t.Skip("too slow for testing.Short")
|
|
|
|