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
after #38836
In groovy, await is used with assert and without return. e.g.
def counter = 0; for (int i = 1; i < 20; i++) { Awaitility.await().untilAsserted(() -> { ++counter println "${i}" if (counter > 10) { assert true } else { assert false } }); }
works fine but
def counter = 0; for (int i = 1; i < 20; i++) { Awaitility.await().untilAsserted(() -> { ++counter println "${i}" if (counter > 10) { return true } else { return false } }); }
will result await quit whenever return value is true or false
just as mentioned
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Search before asking
Version
after #38836
What's Wrong?
In groovy, await is used with assert and without return. e.g.
works fine but
will result await quit whenever return value is true or false
What You Expected?
just as mentioned
How to Reproduce?
just as mentioned
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: