[RAI-25151]: Fix polling duration in poll_with_specified_overhead function#151
[RAI-25151]: Fix polling duration in poll_with_specified_overhead function#151meruyert93 merged 5 commits intomainfrom
poll_with_specified_overhead function#151Conversation
|
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 |
vilterp
left a comment
There was a problem hiding this comment.
Apologies for taking so long on this!

Fix polling duration calculation in
poll_with_specified_overheadfunction.It resolves RAI-25151