Parameters: |
- timeout – Number of seconds spent on trying. Set timeout to -1 for infinite run.
- pause – Number of seconds waited between multiple function result checks
- count – Maximum number of tries, defaults to infinite, represented by -1
- expected_exceptions – When one of expected_exception is raised, probe ignores it and tries to run function again.
To ignore multiple exceptions use parenthesized tuple.
- expected_retval – When expected_retval is recieved, probe ends successfully
- fnc – Function which run is checked by probe
|