-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
add unit test against a real grpc server for common/deliverclient/blo… #4826
base: main
Are you sure you want to change the base?
add unit test against a real grpc server for common/deliverclient/blo… #4826
Conversation
…cksprovider/delivery_requester Signed-off-by: Amrit Prakash <amritdevil1st@gmail.com>
a4cb6af
to
0858f4e
Compare
Signed-off-by: Amrit Prakash <amritdevil1st@gmail.com>
0695783
to
50711a9
Compare
fix premature timeout of rpc connection during test fix premature timeout of rpc connection during test Signed-off-by: Amrit Prakash <amritdevil1st@gmail.com>
b6a43f7
to
7a07f65
Compare
|
||
select { | ||
case <-timer.C: | ||
ds.t.Fatalf("timed out waiting for seek assertions to receive a value\n") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be t.Fatal() rather than t.Fatalf()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
This PR is incomplete. Please move it to draft until you finish or tag it as WIP.
- Please don't remove the tests that use mocks, just add tests that communicate with a real grpc server
- Send a seek info message and check it is received
- Respond with a block and check it is received
- Check connecting with TLS and connection errors
Hello how to access free bitcoin |
Is it possible to access bitcoin? |
Description
fix #4567
Update unit test for deliveryRequester.