Skip to content

Test IMDClient timeout kwarg, add helpful hint to use it #111

@ljwoods2

Description

@ljwoods2

Is your feature request related to a problem?

Timeout defaults to 5 seconds but isn't tested. This can lead to confusing cases where the stream ends during infrequent transmission despite the simulation continuing.

Describe the solution you'd like

Test that the kwarg performs as expected with a parameterized test.

  • Change default value to 600 seconds

  • warn if user passes in an overly optimistic timeout, like <=1 second

  • find some way to notify user if a timeout error was the reason the client stopped (warning? wrapping TImeoutError in EOFError?)

    def _read(self, buf):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions