You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to configure a retry mechanism in tests to run only on specific exceptions?
For example, in the following code, I want the test to retry only if the UnexpectedStatusCodeException is thrown. If any other assertions (like assertEquals) fail, the test should not retry.
Is it possible to configure a retry mechanism in tests to run only on specific exceptions?
For example, in the following code, I want the test to retry only if the
UnexpectedStatusCodeException
is thrown. If any other assertions (likeassertEquals
) fail, the test should not retry.code:
The text was updated successfully, but these errors were encountered: