Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gRPC deps and clean up tests #194

Merged
merged 3 commits into from Apr 29, 2022

Conversation

azdagron
Copy link
Member

  • error message when handshake fails is not stable in the
    credentials test so not bothering to assert the message contents
  • not testing the error returned from Copy since there is an assertion
    later that the contents were copied.

- error message when handshake fails is not stable in the
  credentials test so not bothering to assert the message contents
- not testing the error returned from Copy since there is an assertion
  later that the contents were copied.

Signed-off-by: Andrew Harding <aharding@vmware.com>
Signed-off-by: Andrew Harding <aharding@vmware.com>
Copy link
Member

@amartinezfayo amartinezfayo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @azdagron!

@@ -134,8 +133,11 @@ func testCredentials(t *testing.T, clientCreds, serverCreds credentials.Transpor
ctx, cancel := context.WithCancel(context.Background())
defer cancel()

//c1, c2 := net.Pipe()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: should this be removed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops. yes.

Signed-off-by: Andrew Harding <aharding@vmware.com>
@azdagron azdagron merged commit c882182 into spiffe:main Apr 29, 2022
@azdagron azdagron deleted the update-grpc-clean-up-tests branch April 29, 2022 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants