-
Notifications
You must be signed in to change notification settings - Fork 204
K8SPXC-1535: retry command if host nor found #2036
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
base: main
Are you sure you want to change the base?
Conversation
e2e-tests/functions
Outdated
| run_mysql "$command" "$uri" \ | ||
| >$tmp_dir/${command_id}.sql | ||
| if [ ! -s "$tmp_dir/${command_id}.sql" ]; then | ||
| if [[ ! -s "$tmp_dir/${command_id}.sql" || $(cat "$tmp_dir/${command_id}.sql" | grep 'Unknown MySQL server host') ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
|
@eleo007 , are we going to address the comments on this pr to merge it eventually or close it? |
commit: 551b078 |

CHANGE DESCRIPTION
Problem:
From time to time checks fails with the
'Unknown MySQL server host'in the compare file. if to manually recheck - the restore is correct and the issue is that the service was not yet available when the check was performed. That is why the retry should be if the compare file is not present or there is ''Unknown MySQL server host' in the compare file.Cause:
Short explanation of the root cause of the issue if applicable.
Solution:
Short explanation of the solution we are providing with this PR.
CHECKLIST
Jira
Needs Doc) and QA (Needs QA)?Tests
compare/*-oc.yml)?Config/Logging/Testability