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

Fixed timeout argument in Transport #810

Conversation

borisevich-a-v
Copy link
Contributor

Description

Fixed bug #809

Issues Resolved

  • Timeout argument in Transport.perform_request is not used, because it is redefined just below

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@borisevich-a-v
Copy link
Contributor Author

Sorry, I cannot satisfy DCO due to my account settings. But PR is signed off correctly

@dblock
Copy link
Member

dblock commented Aug 25, 2024

Add a test please?

I am not sure what the issue with DCO is, why can’t it be fixed with your account?

@borisevich-a-v
Copy link
Contributor Author

borisevich-a-v commented Aug 26, 2024

Add a test please?

Sure, I'll add

I am not sure what the issue with DCO is, why can’t it be fixed with your account?

Hope it will not be a problem. I have two GitHub accounts due to job requirements. And for this one I have secondary email address for a while.

@borisevich-a-v
Copy link
Contributor Author

borisevich-a-v commented Aug 26, 2024

Added test and also fixed the same problem with ignore, if you don't mind

Copy link

codecov bot commented Aug 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.31%. Comparing base (ba715b9) to head (0e5bf2e).
Report is 58 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #810      +/-   ##
==========================================
- Coverage   71.95%   70.31%   -1.64%     
==========================================
  Files          91      113      +22     
  Lines        8001     8866     +865     
==========================================
+ Hits         5757     6234     +477     
- Misses       2244     2632     +388     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@borisevich-a-v borisevich-a-v force-pushed the fix/timeout_argument_in_transport_class branch from d91a556 to 7d8b3e6 Compare August 26, 2024 10:10
@borisevich-a-v
Copy link
Contributor Author

@dblock
Added tests, fixed AsyncTransport as well
Tried to add code in the same code style, if there is any mistakes let me know

@borisevich-a-v borisevich-a-v force-pushed the fix/timeout_argument_in_transport_class branch 2 times, most recently from 38e1609 to 68d1559 Compare August 26, 2024 11:32
@dblock
Copy link
Member

dblock commented Aug 26, 2024

I am not sure what the issue with DCO is, why can’t it be fixed with your account?

Hope it will not be a problem. I have two GitHub accounts due to job requirements. And for this one I have secondary email address for a while.

I am not supposed to approve PRs without passing DCO :) Let's try to fix it.

You can configure the email address per repo. I do this routinely on a work computer for anything non-work.

git config user.name ...
git config user.email ...

Does this work?

@borisevich-a-v borisevich-a-v force-pushed the fix/timeout_argument_in_transport_class branch from 68d1559 to 19c876e Compare August 27, 2024 06:48
Signed-off-by: borisevich-a-v <andreyborisevichleti@gmail.com>
Signed-off-by: borisevich-a-v <andreyborisevichleti@gmail.com>
Signed-off-by: borisevich-a-v <andreyborisevichleti@gmail.com>
Signed-off-by: borisevich-a-v <andreyborisevichleti@gmail.com>
@borisevich-a-v borisevich-a-v force-pushed the fix/timeout_argument_in_transport_class branch from 19c876e to 0e5bf2e Compare August 27, 2024 06:51
@borisevich-a-v
Copy link
Contributor Author

Does this work?

The problem was with my emails. I have satisfied DCO :)

Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

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.

2 participants