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

Parse timeouts as floats in RequestsWrapper #3448

Merged
merged 1 commit into from
Apr 12, 2019
Merged

Parse timeouts as floats in RequestsWrapper #3448

merged 1 commit into from
Apr 12, 2019

Conversation

ofek
Copy link
Contributor

@ofek ofek commented Apr 3, 2019

Motivation

No precision loss

Additional Notes

Also cleaned up a test that no longer is necessary

@codecov
Copy link

codecov bot commented Apr 3, 2019

Codecov Report

Merging #3448 into master will decrease coverage by 2.59%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3448      +/-   ##
==========================================
- Coverage   86.46%   83.87%    -2.6%     
==========================================
  Files         735       62     -673     
  Lines       37955     4694   -33261     
  Branches     4461      574    -3887     
==========================================
- Hits        32819     3937   -28882     
+ Misses       3936      636    -3300     
+ Partials     1200      121    -1079

check = AgentCheck('test', {}, [{}])

assert check.http == check._http
assert isinstance(check.http, RequestsWrapper)

def test_remapper_no_trigger(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

I assume this test was not necessary before the change

@zippolyte
Copy link
Contributor

Does this need to be in 6.11 ?

@ofek
Copy link
Contributor Author

ofek commented Apr 4, 2019

No

@ofek ofek merged commit 3471aab into master Apr 12, 2019
@ofek ofek deleted the ofek/t branch April 12, 2019 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants