Skip to content
New issue

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

RETRY operation did not work on botium-cli #716

Open
ram-d opened this issue Nov 29, 2022 · 3 comments
Open

RETRY operation did not work on botium-cli #716

ram-d opened this issue Nov 29, 2022 · 3 comments
Labels

Comments

@ram-d
Copy link

ram-d commented Nov 29, 2022

Hi,

One or two tests in my automation are failing with an api error and I wanted to use the retry operation but it did not work on botium-cli. I tried with 'RETRY_USERINPUT_ONERROR_REGEXP' set to the error message and retry count set to 1 in the botium capabilities. I also tried with RETRY_USERSAYS_ONERROR_REGEXP but the result was the same. Can you please help with the right example on how to use the retry operation on botium-cli?

Thanks,
Ram

@ujja
Copy link
Collaborator

ujja commented Nov 29, 2022

Hello,

I suppose error is coming on conversation, not on establishing connection? In this case this has to work:

"Capabilities": {
  "CONTAINERMODE": "...",
  "RETRY_USERSAYS_NUMRETRIES": 1,
  "RETRY_USERSAYS_ONERROR_REGEXP": "<text to filter the error message, like 'timeout error'>"
}

@ram-d
Copy link
Author

ram-d commented Nov 29, 2022

Hi @ujja , I tried this and it didn't work.

"RETRY_USERSAYS_ONERROR_REGEXP": "Hmm … something did not work. Please try again in a bit.",
"RETRY_USERSAYS_NUMRETRIES": 1,

@stale
Copy link

stale bot commented Jun 18, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants