From 0a8f6633f6e8dd14accb754e709afbde0cfd2579 Mon Sep 17 00:00:00 2001 From: Benjamin Bengfort Date: Mon, 22 Jul 2024 17:46:36 -0500 Subject: [PATCH] most tests fixed --- pkg/bff/server_test.go | 8 ++++---- pkg/trtl/server_test.go | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/bff/server_test.go b/pkg/bff/server_test.go index 94b96114c..984bafc7e 100644 --- a/pkg/bff/server_test.go +++ b/pkg/bff/server_test.go @@ -74,11 +74,11 @@ func (s *bffTestSuite) SetupSuite() { TestNet: config.NetworkConfig{ Directory: config.DirectoryConfig{ Insecure: true, - Endpoint: "bufnet", + Endpoint: "passthrough://bufnet", Timeout: 1 * time.Second, }, Members: config.MembersConfig{ - Endpoint: "bufnet", + Endpoint: "passthrough://bufnet", Timeout: 1 * time.Second, MTLS: config.MTLSConfig{ Insecure: true, @@ -88,11 +88,11 @@ func (s *bffTestSuite) SetupSuite() { MainNet: config.NetworkConfig{ Directory: config.DirectoryConfig{ Insecure: true, - Endpoint: "bufnet", + Endpoint: "passthrough://bufnet", Timeout: 1 * time.Second, }, Members: config.MembersConfig{ - Endpoint: "bufnet", + Endpoint: "passthrough://bufnet", Timeout: 1 * time.Second, MTLS: config.MTLSConfig{ Insecure: true, diff --git a/pkg/trtl/server_test.go b/pkg/trtl/server_test.go index e9e52339c..fa4f013d6 100644 --- a/pkg/trtl/server_test.go +++ b/pkg/trtl/server_test.go @@ -35,7 +35,7 @@ const ( clientCerts = "testdata/client.pem" serverCerts = "testdata/server.pem" clientTarget = "client.trisa.dev" - serverTarget = "server.trisa.dev" + serverTarget = "passthrough://server.trisa.dev" ) var (