We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The docstring for htf.PhaseOption says:
htf.PhaseOption
repeat_limit: Maximum number of repeats. None indicates a phase will be repeated infinitely as long as PhaseResult.REPEAT is returned.
But this doesn't seem to be the case. Doing exactly that only repeats the test 3 times and then fails.
Here's my test:
@htf.PhaseOptions(name="Repeat infinitely", timeout_s=200, repeat_limit=None) def repeat(test: htf.TestApi, prompt: user_input.UserInput): print("hi") return htf.PhaseResult.REPEAT
I also run this test with test.execute(test_start=repeat) if that's relevant.
test.execute(test_start=repeat)
The text was updated successfully, but these errors were encountered:
glados-verma
Successfully merging a pull request may close this issue.
The docstring for
htf.PhaseOption
says:But this doesn't seem to be the case. Doing exactly that only repeats the test 3 times and then fails.
Here's my test:
I also run this test with
test.execute(test_start=repeat)
if that's relevant.The text was updated successfully, but these errors were encountered: