Skip to content

Commit

Permalink
remove endpoints length check in TestValidateSecureEndpoints()
Browse files Browse the repository at this point in the history
  • Loading branch information
eval-exec committed Mar 21, 2022
1 parent 4f0562f commit 90c128e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client/pkg/transport/tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ func TestValidateSecureEndpoints(t *testing.T) {
}

if err == nil && !test.expectedErr {
if len(secureEps) != len(test.expectedEndpoints) {
t.Errorf("expected %v endpoints, got %v", len(test.expectedEndpoints), len(secureEps))
}
if !reflect.DeepEqual(test.expectedEndpoints, secureEps) {
t.Errorf("expected endpoints %v, got %v", test.expectedEndpoints, secureEps)
}
Expand Down

0 comments on commit 90c128e

Please sign in to comment.