Skip to content

Unexpected behaviour when used together with retry #85

@starwander

Description

@starwander

@timeout(4)
@Retry(tries=6, delay=2)
def retry_after_each_timeout():
# time.sleep(5)
raise Exception

This code will raise a timeout exception after 4 seconds, not after 6 tries.
Uncomment the sleep code make it behaviour right.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions