Skip to content

Commit

Permalink
Fix no bootstrap resolver test sigsegv
Browse files Browse the repository at this point in the history
  • Loading branch information
purnesh42H committed Dec 28, 2024
1 parent d43ade8 commit 3da66f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xds/internal/xdsclient/tests/resource_update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ func (s) TestHandleClusterResponseFromManagementServer(t *testing.T) {
// involving receipt of a CDS response from the management server. The test
// verifies that the internal state of the xDS client (parsed resource and
// metadata) matches expectations.
func TestHandleEndpointsResponseFromManagementServer(t *testing.T) {
func (s) TestHandleEndpointsResponseFromManagementServer(t *testing.T) {
const (
resourceName1 = "resource-name-1"
resourceName2 = "resource-name-2"
Expand Down
2 changes: 1 addition & 1 deletion xds/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (s) TestNewServer_Success(t *testing.T) {
}
}

func TestNewServer_Failure(t *testing.T) {
func (s) TestNewServer_Failure(t *testing.T) {
xdsCreds, err := xds.NewServerCredentials(xds.ServerOptions{FallbackCreds: insecure.NewCredentials()})
if err != nil {
t.Fatalf("failed to create xds server credentials: %v", err)
Expand Down

0 comments on commit 3da66f3

Please sign in to comment.