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

Enhance the redis test to know the status of the replication #15512

Merged
merged 2 commits into from
Sep 14, 2022

Conversation

pdostal
Copy link
Member

@pdostal pdostal commented Sep 13, 2022

I removed the redis_cli.sh script as we should not use bash scripts in openQA unless absolutely needed. I also got rid of background_script_run() as redis-server has parameter --deamonize yes which makes it running in background and logging to /var/log/redis instead of /dev/stdout. Plus script_retry() and validate_script_output_retry()should make the test more stable.

Copy link
Member

@foursixnine foursixnine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very neat @pdostal

Copy link
Contributor

@rfan1 rfan1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@foursixnine foursixnine merged commit 7feaf48 into os-autoinst:master Sep 14, 2022
@pdostal pdostal deleted the redis_enhance branch December 28, 2022 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants