Repository navigation
Conversation
pekkaklarck
left a comment
There was a problem hiding this comment.
Looks great! As I commented the issue, I don't want the behavior to change in a bug fix release, so I'll merge this as soon as we start RF 7.6 development. That may be already next week, but we still need to decide do we want to create RF 7.5.2 or not.
|
One possible thing to add is a note that using 0 disables the timeout in 7.4 and 7.5. There's a note about the newish
What do you think about the this? If you think it's a good idea, please add something like above to the PR. |
|
Good idea, thanks! I added that note to the docs of both |
Fixes #5863
Wait Until RemovedandWait Until Createdconvert the timeout withtimeout.total_seconds() if timeout else -1.timedelta(0)is falsy, so a zero timeout became -1 (no limit) and the keywords waited forever. The check is nowtimeout is not None, so zero fails at once again, as in RF 7.3, and onlyNoneor a negative value disables the limit.Only a zero timeout changes. This is against
master, for 7.6 as discussed in the issue. AddedZero remove timeoutandZero create timeoutacceptance tests; without the change both run into their test timeout.