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

[BEAM-7075] Create Redis embedded server on @BeforeClass and simplify tests #8304

Merged
merged 1 commit into from Apr 15, 2019

Conversation

iemejia
Copy link
Member

@iemejia iemejia commented Apr 15, 2019

I have also refactored most unit tests to make them more unit test like with a considerable performance gain. Also relies only on IPv4 to speed tests still more.

R: @aromanenko-dev

@jbonofre jbonofre self-requested a review April 15, 2019 09:03
Copy link
Member

@jbonofre jbonofre left a comment

Choose a reason for hiding this comment

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

Overall good, but I guess some cleanup are required after write to avoid to pollute the set in Redis.

@iemejia
Copy link
Member Author

iemejia commented Apr 15, 2019

Thanks JB, Clean up is not needed if we take care of using a different key or key prefix in each test, this PR does that. We could make it more robust by cleaning the data on @After with a minor performance cost in the future.

@iemejia iemejia merged commit 0e9ab8d into apache:master Apr 15, 2019
@iemejia iemejia deleted the BEAM-7075-redis-beforeclass branch April 15, 2019 09:34
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.

None yet

2 participants