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

Adding replication ability to valkey test case, changing waiter functionality for more flexibility in the future #6

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

zackcam
Copy link
Contributor

@zackcam zackcam commented Sep 23, 2024

Added a class for replication in valkey_test_case.py as well as a simple test that checks it works as intended. In addition to this changed how waiters worked to allow more cases to be added in the future with different operators.

Due to the change in waiters the timing test in test_save_and_restore was now quicker causing it to fail so changed the position of the wait in order for the test to work again.

@zackcam zackcam force-pushed the unstable branch 4 times, most recently from 74ece05 to 18a279e Compare October 1, 2024 22:08
tests/valkeytests/util/waiters.py Outdated Show resolved Hide resolved
tests/test_replication.py Show resolved Hide resolved
tests/test_replication.py Show resolved Hide resolved
tests/test_save_and_restore.py Show resolved Hide resolved
tests/valkeytests/valkey_test_case.py Outdated Show resolved Hide resolved
…ionality for more flexibility in the future

Signed-off-by: zackcam <zackcam@amazon.com>
@KarthikSubbarao KarthikSubbarao merged commit f299216 into valkey-io:unstable Oct 2, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants