-
Notifications
You must be signed in to change notification settings - Fork 4
[RAI-25151]: Fix polling duration in poll_with_specified_overhead
function
#151
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
Conversation
Definitely looks more like the Julia one now… This is making me wish Python had fake-able timers like Jest, so we could write a nice test for this! 😅 |
yeah agree that would be indeed nice 😄 |
poll_with_specified_overhead
function
It looks like there is https://docs.python.org/3/library/unittest.mock.html Maybe you could try using that to write a small unit test for |
@vilterp it actually had couple tests, now I have added more tests |
Hm, looks like tests failing with
|
@vilterp all the tests are passed. Where do you see it? ![]() |
@vilterp |
Oh ok, I guess the github UI didn't refresh itself and I was looking at an out of date run. Will review again on Mon |
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.
Apologies for taking so long on this!
Fix polling duration calculation in
poll_with_specified_overhead
function.It resolves RAI-25151