Skip to content

Commit

Permalink
Remove duplicated opts
Browse files Browse the repository at this point in the history
Signed-off-by: Guilherme Carvalho <guilhermbrsp@gmail.com>
  • Loading branch information
guilhermocc committed Dec 14, 2022
1 parent 0be5985 commit 94fdee3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/server/endpoints/endpoints_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ func TestListenAndServe(t *testing.T) {
grpc.WithBlock(),
grpc.WithTransportCredentials(credentials.NewTLS(config)),
grpc.WithReturnConnectionError(),
grpc.WithBlock(),
)
require.EqualError(t, err, "context deadline exceeded: connection error: desc = \"error reading server preface: remote error: tls: bad certificate\"")
})
Expand All @@ -352,7 +351,6 @@ func TestListenAndServe(t *testing.T) {
grpc.WithBlock(),
grpc.WithTransportCredentials(credentials.NewTLS(config)),
grpc.WithReturnConnectionError(),
grpc.WithBlock(),
)
require.EqualError(t, err, "context deadline exceeded: connection error: desc = \"error reading server preface: remote error: tls: bad certificate\"")
})
Expand All @@ -367,7 +365,6 @@ func TestListenAndServe(t *testing.T) {
grpc.WithBlock(),
grpc.WithTransportCredentials(credentials.NewTLS(config)),
grpc.WithReturnConnectionError(),
grpc.WithBlock(),
)
require.EqualError(t, err, "context deadline exceeded: connection error: desc = \"error reading server preface: remote error: tls: bad certificate\"")
})
Expand Down

0 comments on commit 94fdee3

Please sign in to comment.