Skip to content

Commit

Permalink
Test default per-rpc-credentials implementation
Browse files Browse the repository at this point in the history
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
  • Loading branch information
jpkrohling committed Feb 17, 2022
1 parent 7f91ab2 commit 51128dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/configauth/default_clientauthenticator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ func TestClientDefaultValues(t *testing.T) {
assert.NoError(t, err)
})

t.Run("per-rpc-credentials", func(t *testing.T) {
p, err := e.PerRPCCredentials()
assert.Nil(t, p)
assert.NoError(t, err)
})

t.Run("shutdown", func(t *testing.T) {
err := e.Shutdown(context.Background())
assert.NoError(t, err)
Expand Down

0 comments on commit 51128dc

Please sign in to comment.