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

Add basic replicaiton from redis test #895

Merged
merged 1 commit into from
Mar 1, 2023
Merged

Add basic replicaiton from redis test #895

merged 1 commit into from
Mar 1, 2023

Conversation

ashotland
Copy link
Contributor

No description provided.

@ashotland ashotland requested a review from dranikpg March 1, 2023 15:24
Signed-off-by: ashotland <ari@dragonflydb.io>
@ashotland ashotland force-pushed the redis-replication branch from 50568be to 82c13e8 Compare March 1, 2023 15:38
self.proc = None

def start(self):
self.proc = subprocess.Popen(["redis-server-6.2.11",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added this binary to the image used for the github actions regression tests

Comment on lines +74 to +75
seeder = df_seeder_factory.create(port=redis_server.port, keys=100, dbcount=1, unsupported_types=[ValueType.JSON])
await seeder.run(target_ops=100)
Copy link
Contributor

Choose a reason for hiding this comment

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

I would maybe make the values a big larger (multiple dbs, more keys), I assume it takes no more than a few seconds

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll follow up with more complex cases - just wanted to the establish something to start with.

@ashotland ashotland merged commit ccc784d into main Mar 1, 2023
@ashotland ashotland deleted the redis-replication branch March 5, 2023 13:41
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.

2 participants